lilalo

diff install @ 114:658b4ea105c1

PS1 bug fixed
author igor
date Sun Mar 09 02:38:56 2008 +0200 (2008-03-09)
parents 3cd466f35ad6
children 9e6359b7ad55
line diff
     1.1 --- a/install	Wed Feb 13 02:41:57 2008 +0200
     1.2 +++ b/install	Sun Mar 09 02:38:56 2008 +0200
     1.3 @@ -22,6 +22,7 @@
     1.4  url_l3bashrc="${url_lilalo}"/l3bashrc
     1.5  url_l3agent="${url_lilalo}"/l3-agent
     1.6  url_l3config="${url_lilalo}"/l3config.pm
     1.7 +url_l3prompt="${url_lilalo}"/l3prompt
     1.8  url_perl_modules=${url_lilalo}/
     1.9  perl_modules="Term-VT102 Text-Iconv"
    1.10  
    1.11 @@ -92,6 +93,8 @@
    1.12          cp l3-agent /usr/local/bin
    1.13          chmod 755 /usr/local/bin/l3-agent
    1.14          cp l3bashrc ${user_home}/${lilalo_home}
    1.15 +        cp l3prompt ${user_home}/${lilalo_home}
    1.16 +        chmod 755 ${user_home}/${lilalo_home}/l3prompt
    1.17          chown -R $user ${user_home}/${lilalo_home}
    1.18          echo l3cd=${lilalo_context}/$user > ${user_home}/${lilalo_rc}
    1.19          chown -R $user ${user_home}/${lilalo_rc}
    1.20 @@ -163,6 +166,7 @@
    1.21  cd ${temp_dir}
    1.22  step "Installing dependencies" apt_get_install_deps
    1.23  step "Downloading l3bashrc" ${wget} ${url_l3bashrc} 
    1.24 +step "Downloading l3prompt" ${wget} ${url_l3prompt} 
    1.25  step "Downloading l3-agent" '${wget} ${url_l3agent}; ${wget} ${url_l3config}'
    1.26  step "Downloading perl modules for l3-agent" '{ for i in ${perl_modules}; do ${wget} ${url_perl_modules}/$i.tar.gz; done; }'
    1.27  step "Installing perl modules for l3-agent" '{ for i in ${perl_modules}; do tar xvfz $i.tar.gz; cd $i*[^z]; perl Makefile.PL; make; make install; cd ..; done; }'