diff options
author | Francois Pons <fpons@mandriva.com> | 2001-02-08 13:43:00 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-02-08 13:43:00 +0000 |
commit | 02e54df5bb2f21b74693b8cfea3efa57b81a2377 (patch) | |
tree | b8a1179daa350e814afe4592abb5d5d3a0dbde33 /perl-install/standalone | |
parent | a0f295c6837be1282b3b7ecca13f08a3c8d99175 (diff) | |
download | drakx-02e54df5bb2f21b74693b8cfea3efa57b81a2377.tar drakx-02e54df5bb2f21b74693b8cfea3efa57b81a2377.tar.gz drakx-02e54df5bb2f21b74693b8cfea3efa57b81a2377.tar.bz2 drakx-02e54df5bb2f21b74693b8cfea3efa57b81a2377.tar.xz drakx-02e54df5bb2f21b74693b8cfea3efa57b81a2377.zip |
fixed SHARE_PATH to make sure it is setted.
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/XFdrake | 1 |
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); |