lilalo

changeset 10:35f394563dcb

Изменил пути к репозиторию lilalo
author devi
date Fri Jun 03 09:43:48 2005 +0300 (2005-06-03)
parents 868607af758e
children 971931a71c9e
files lm lm-install
line diff
     1.1 --- a/lm	Tue May 31 11:08:01 2005 +0300
     1.2 +++ b/lm	Fri Jun 03 09:43:48 2005 +0300
     1.3 @@ -24,11 +24,11 @@
     1.4  	"l3-report"	=> "./lm-report",
     1.5  
     1.6  	# Каталоги
     1.7 -	"path_labmaker" => "/var/labmaker/",
     1.8 -	"path_classes"	=> "/var/labmaker/classes/",
     1.9 -	"path_lablogs"	=> "/var/labmaker/lablogs/",
    1.10 -	"courses_path"	=> "/var/labmaker/courses/",
    1.11 -	"outpath"	=> "/var/labmaker/out/",
    1.12 +	"path_lilalo" => "/var/labmaker/",
    1.13 +	"path_classes"	=> "/var/lilalo/classes/",
    1.14 +	"path_lablogs"	=> "/var/lilalo/lablogs/",
    1.15 +	"courses_path"	=> "/var/lilalo/courses/",
    1.16 +	"outpath"	=> "/var/lilalo/out/",
    1.17  	"path_web"	=> "/var/www/l3",		# Путь к web-отчётам
    1.18  	"path_share"	=> "./share/",		# Путь к web-отчётам
    1.19  
     2.1 --- a/lm-install	Tue May 31 11:08:01 2005 +0300
     2.2 +++ b/lm-install	Fri Jun 03 09:43:48 2005 +0300
     2.3 @@ -73,13 +73,13 @@
     2.4  
     2.5  	this_term=`w | grep "${TTY##/dev/}" | awk '{print $8;}'`
     2.6  	# freeBSD: 
     2.7 -	#this_term=`w | grep "${TTY##/dev/tty}" | awk '{print $6;}'`
     2.8 +	this_term=`w | grep "${TTY##/dev/tty}" | awk '{print $6;}'`
     2.9  	if [ -n "$this_term" ] && echo $this_term | grep -qv script
    2.10  	then	
    2.11  		LMHOME=~/.labmaker
    2.12  		mkdir -p ${LMHOME}
    2.13  		flush="-f"	#linux
    2.14 -		#flush="-t 0"	#freebsd
    2.15 +		flush="-t 0"	#freebsd
    2.16  		PS1='\[`	a="$?";
    2.17  			HIDDEN=$([ "$a" = 0 ] || echo -n ^"$a")$(echo -n _${UID}_)$(echo -n _$$_)$(date\
    2.18  				+"%j$(cat ~/.labmaker/lab 2>/dev/null) %H:%M:%S");