diff options
author | Francois Pons <fpons@mandriva.com> | 2000-09-28 16:33:49 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-09-28 16:33:49 +0000 |
commit | a3e2c7be4443cb41d435ea38cd7f3e253709afcc (patch) | |
tree | d19d2b513c6f268cbe4c912068b85a3b2fc941d0 /perl-install/live_install | |
parent | f9128b9427f10815fb59db2eb65ee29a8d80b6d8 (diff) | |
download | drakx-a3e2c7be4443cb41d435ea38cd7f3e253709afcc.tar drakx-a3e2c7be4443cb41d435ea38cd7f3e253709afcc.tar.gz drakx-a3e2c7be4443cb41d435ea38cd7f3e253709afcc.tar.bz2 drakx-a3e2c7be4443cb41d435ea38cd7f3e253709afcc.tar.xz drakx-a3e2c7be4443cb41d435ea38cd7f3e253709afcc.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/live_install')
-rwxr-xr-x | perl-install/live_install | 46 |
1 files changed, 4 insertions, 42 deletions
diff --git a/perl-install/live_install b/perl-install/live_install index 113cf5660..a98583690 100755 --- a/perl-install/live_install +++ b/perl-install/live_install @@ -49,47 +49,9 @@ if [ -x "/tmp/drakx/mdkinst/usr/bin/perl-install/live_install2" ]; then xset fp rehash fi - # start DrakX - ../../../lib/ld-linux.so.2 ../perl ./live_install2 - - # restore all fonts dir from 7.2 in case something gets wrong. - for i in misc PEX Speedo Type1 mdk 75dpi 100dpi cyrillic - do - if [ -d /usr/X11R6/lib/X11/fonts/$i ]; then - if [ ! -e /usr/X11R6/lib/X11/fonts/$i/fonts.dir ]; then - cd /usr/X11R6/lib/X11/fonts/$i - mkfontdir - if [ -n "$DISPLAY" ]; then - xset fp rehash - fi - cd - - fi - fi - done - -# for i in MonitorsDB CardsNames Cards+ -# do -# if [ -e /tmp/drakx/mdkinst/$i ]; then -# rm -f /usr/X11R6/lib/X11/$i -# mv /tmp/drakx/mdkinst/$i /usr/X11R6/lib/X11/$i -# fi -# done -# -# if [ -x /tmp/drakx/mdkinst/packdrake ]; then -# rm -f /usr/bin/packdrake -# mv /tmp/drakx/mdkinst/packdrake /usr/bin/packdrake -# fi -# -# if [ -x /tmp/drakx/mdkinst/libperl.so ]; then -# rm -f $perlcoredir/libperl.so -# mv /tmp/drakx/mdkinst/libperl.so $perlcoredir/libperl.so -# fi -else - echo >&2 "unable to get a working live system to start, check your working directory" - exit 2 + # start DrakX, do not keep shell script in background else the CD is locked by it!!! + exec ../../../lib/ld-linux.so.2 ../perl ./live_install2 fi -#/bin/rm -rf /tmp/drakx -#/bin/rm -rf /tmp/rhimage - -sync +echo >&2 "unable to get a working live system to start, check your working directory" +exit 2 |