diff options
author | Mystery Man <unknown@mandriva.org> | 2001-08-07 17:40:36 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2001-08-07 17:40:36 +0000 |
commit | 068d599562888a36a50e5bbdeb8b70f83fa7c287 (patch) | |
tree | 18f5eed8353b3af647412875d438b55ef8c07670 /perl-install/live_install2 | |
parent | be838931607e1ab14c8c699e20dd807b55579f7b (diff) | |
download | drakx-backup-do-not-use-068d599562888a36a50e5bbdeb8b70f83fa7c287.tar drakx-backup-do-not-use-068d599562888a36a50e5bbdeb8b70f83fa7c287.tar.gz drakx-backup-do-not-use-068d599562888a36a50e5bbdeb8b70f83fa7c287.tar.bz2 drakx-backup-do-not-use-068d599562888a36a50e5bbdeb8b70f83fa7c287.tar.xz drakx-backup-do-not-use-068d599562888a36a50e5bbdeb8b70f83fa7c287.zip |
This commit was manufactured by cvs2svn to create branchtopic/v_webmin_0_87
'v_webmin_0_87'.
Diffstat (limited to 'perl-install/live_install2')
-rwxr-xr-x | perl-install/live_install2 | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/perl-install/live_install2 b/perl-install/live_install2 deleted file mode 100755 index 5fee58147..000000000 --- a/perl-install/live_install2 +++ /dev/null @@ -1,46 +0,0 @@ -#!../perl - -my $dir = `pwd`; -chomp $dir; -$dir .= "/../../.."; - -#- keep it mind the ELF loader to use. -$ENV{LD_LOADER} = "$dir/lib/ld-linux.so.2"; - -$ENV{LOCPATH}="$dir/usr/share/locale"; -$ENV{GCONV_PATH}="$dir/usr/lib/gconv"; -$ENV{PERL5LIB} = join ":", map { "$dir/$_" } @INC; -$ENV{LD_LIBRARY_PATH} = "$dir/usr/bin:$dir/bin:$dir/sbin:$dir/usr/sbin:$dir/usr/X11R6/bin:$dir/lib:$dir/usr/lib:$dir/usr/lib/perl5/5.6.0/i386-linux/CORE"; -$ENV{PATH} = join(":", map { "$dir/$_" } split ":", "/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11R6/bin") . ":$ENV{PATH}"; -$ENV{SHARE_PATH} = "$dir/usr/share"; -$ENV{RPMRC_FILE} = "$dir/usr/lib/rpm/rpmrc"; -$ENV{GTK_DATA_PREFIX} = "$dir/usr"; -$ENV{GTK_EXE_PREFIX} = "$dir/usr"; -$ENV{GDK_IMLIB_PATH} = "$dir/usr/lib"; - -system $ENV{LD_LOADER}, "../perl", "-i", "-pe", "s,^(.*macrofiles[^/]*)(.*),\$1$dir/usr/lib/rpm/macros:\$2,", $ENV{RPMRC_FILE}; -system $ENV{LD_LOADER}, "../perl", "./install2", "--live", @ARGV; - -#- at this point, unwind above else they will not run correctly (wrong ld-linux.so.2) -delete $ENV{GTK_EXE_PREFIX}; -delete $ENV{RPMRC_FILE}; -delete $ENV{LOCPATH}; -delete $ENV{SHARE_PATH}; -delete $ENV{PATH}; -delete $ENV{LD_LIBRARY_PATH}; -delete $ENV{PERL5LIB}; -delete $ENV{LD_LOADER}; - -$ENV{DISPLAY} and system "xset", "-fp", "/tmp/drakx/mdkinst/usr/X11R6/lib/X11/fonts/"; -foreach (qw(misc PEX Speedo Type1 mdk 75dpi 100dpi cyrillic)) { - -d "/usr/X11R6/lib/X11/fonts/$_" or next; - -e "/usr/X11R6/lib/X11/fonts/$_/fonts.dir" and next; - chdir "/usr/X11R6/lib/X11/fonts/$_"; - system "mkfontdir"; -} -$ENV{DISPLAY} and system "xset", "fp", "rehash"; - -system "/bin/rm", "-rf", "/tmp/drakx"; -system "/bin/rm", "-rf", "/tmp/rhimage"; - -exec "/bin/sync"; |