diff options
Diffstat (limited to 'perl-install/live_install2')
-rwxr-xr-x | perl-install/live_install2 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/perl-install/live_install2 b/perl-install/live_install2 index 0773636ea..e2a07f4c5 100755 --- a/perl-install/live_install2 +++ b/perl-install/live_install2 @@ -9,4 +9,17 @@ $ENV{LD_LIBRARY_PATH} = "$dir/lib:$dir/usr/lib"; $ENV{PATH} = join(":", map { "$dir/$_" } split ":", "/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11R6/bin") . ":$ENV{PATH}"; $ENV{SHARE_PATH} = "$dir/usr/share"; -exec "../../../lib/ld-linux.so.2", "../perl", "./install2", "--live", @ARGV or die; +system "../../../lib/ld-linux.so.2", "../perl", "./install2", "--live", @ARGV; + +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"; |