summaryrefslogtreecommitdiffstats
path: root/perl-install/live_install2
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-28 16:33:49 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-28 16:33:49 +0000
commita3e2c7be4443cb41d435ea38cd7f3e253709afcc (patch)
treed19d2b513c6f268cbe4c912068b85a3b2fc941d0 /perl-install/live_install2
parentf9128b9427f10815fb59db2eb65ee29a8d80b6d8 (diff)
downloaddrakx-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_install2')
-rwxr-xr-xperl-install/live_install215
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";