summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-02-08 13:43:00 +0000
committerFrancois Pons <fpons@mandriva.com>2001-02-08 13:43:00 +0000
commit02e54df5bb2f21b74693b8cfea3efa57b81a2377 (patch)
treeb8a1179daa350e814afe4592abb5d5d3a0dbde33
parenta0f295c6837be1282b3b7ecca13f08a3c8d99175 (diff)
downloaddrakx-backup-do-not-use-02e54df5bb2f21b74693b8cfea3efa57b81a2377.tar
drakx-backup-do-not-use-02e54df5bb2f21b74693b8cfea3efa57b81a2377.tar.gz
drakx-backup-do-not-use-02e54df5bb2f21b74693b8cfea3efa57b81a2377.tar.bz2
drakx-backup-do-not-use-02e54df5bb2f21b74693b8cfea3efa57b81a2377.tar.xz
drakx-backup-do-not-use-02e54df5bb2f21b74693b8cfea3efa57b81a2377.zip
fixed SHARE_PATH to make sure it is setted.
-rwxr-xr-xperl-install/standalone/XFdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/XFdrake b/perl-install/standalone/XFdrake
index 7c3a5d13b..2e3561be0 100755
--- a/perl-install/standalone/XFdrake
+++ b/perl-install/standalone/XFdrake
@@ -51,6 +51,7 @@ standalone::pkgs_install('XFree86', 'XFree86-75dpi-fonts') if (! -e $f);
`pidof xfs` > 0 or system("/etc/rc.d/init.d/xfs start");
system("mount /proc 2>/dev/null"); # ensure /proc is mounted for pci probing
+$ENV{SHARE_PATH} ||= "/usr/share"; # make sure SHARE_PATH is ok...
Xconfig::getinfoFromXF86Config($i) if $0 =~ Xdrakres;
Xconfig::getinfo($i);