diff options
author | Mystery Man <unknown@mandriva.org> | 2001-09-05 12:55:06 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2001-09-05 12:55:06 +0000 |
commit | ec7d8bfda214073d222fcadfa1ac9d3ed884ea87 (patch) | |
tree | d17c669ffaea9eae8bbc6b1b82b6164e75c6c42d /perl-install/live_install | |
parent | d2428470c34f096821615c7f119775b03aa86253 (diff) | |
download | drakx-ec7d8bfda214073d222fcadfa1ac9d3ed884ea87.tar drakx-ec7d8bfda214073d222fcadfa1ac9d3ed884ea87.tar.gz drakx-ec7d8bfda214073d222fcadfa1ac9d3ed884ea87.tar.bz2 drakx-ec7d8bfda214073d222fcadfa1ac9d3ed884ea87.tar.xz drakx-ec7d8bfda214073d222fcadfa1ac9d3ed884ea87.zip |
This commit was manufactured by cvs2svn to create tag 'V_9mdk'.V_9mdk
Diffstat (limited to 'perl-install/live_install')
-rwxr-xr-x | perl-install/live_install | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/perl-install/live_install b/perl-install/live_install deleted file mode 100755 index c749aa7d7..000000000 --- a/perl-install/live_install +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -if [ "$UID" -ne 0 ]; then - echo >&2 "you need to be root to start live install" - exit 3 -fi - -if [ -x ./Mandrake/mdkinst/usr/bin/perl-install/live_install2 ]; then - dir=`pwd`/Mandrake/mdkinst -elif [ -x ../../../../../Mandrake/mdkinst/usr/bin/perl-install/live_install2 ]; then - dir=`pwd`/../../.. -else - echo >&2 "unable to get a working live system to start, check your working directory" - exit 2 -fi - -/bin/rm -rf /tmp/image -/bin/mkdir -m 0700 /tmp/image || exit 1 -/bin/rm -rf /tmp/drakx -/bin/mkdir -m 0700 /tmp/drakx || exit 2 - -for i in Mandrake RPMS misc boot images VERSION -do - /bin/ln -sf "$dir/../../$i" "/tmp/image/$i" -done - -/bin/cp -a "$dir/../../Mandrake/mdkinst" "/tmp/drakx" - -if [ -x "/tmp/drakx/mdkinst/usr/bin/perl-install/live_install2" ]; then - # get correct fonts for DrakX. - if [ -n "$DISPLAY" ]; then - xset +fp /tmp/drakx/mdkinst/usr/X11R6/lib/X11/fonts/ - xset fp rehash - fi - - # avoid pollution for environment - unset LC_MONETARY LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME LC_COLLATE LANGUAGE LANG RPM_INSTALL_LANG - - # start DrakX, do not keep shell script in background else the CD is locked by it!!! - cd /tmp/drakx/mdkinst/usr/bin/perl-install - exec ../../../lib/ld-linux.so.2 ../perl ./live_install2 -fi - -echo >&2 "unable to get a working live system to start, check your working directory" -exit 2 |