diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-02-08 15:28:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-02-08 15:28:10 +0000 |
commit | 260667f99a16d7d435c3cccf0b206de97bc519d5 (patch) | |
tree | 6f3e5baf14ebeb7402b290e203229ef267b0ac25 | |
parent | 1366f5597fe205e0a90e02eba76f59a365fec892 (diff) | |
download | drakx-260667f99a16d7d435c3cccf0b206de97bc519d5.tar drakx-260667f99a16d7d435c3cccf0b206de97bc519d5.tar.gz drakx-260667f99a16d7d435c3cccf0b206de97bc519d5.tar.bz2 drakx-260667f99a16d7d435c3cccf0b206de97bc519d5.tar.xz drakx-260667f99a16d7d435c3cccf0b206de97bc519d5.zip |
make sure SHARE_PATH is set now in standalone
-rw-r--r-- | perl-install/standalone.pm | 2 | ||||
-rwxr-xr-x | perl-install/standalone/XFdrake | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index c1893fe99..382af1651 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -2,6 +2,8 @@ package standalone; # $Id$ $::isStandalone = 1; +$ENV{SHARE_PATH} ||= "/usr/share"; + sub pkgs_install { my ($in, @l) = @_; diff --git a/perl-install/standalone/XFdrake b/perl-install/standalone/XFdrake index 0e8ee5f91..7c3a5d13b 100755 --- a/perl-install/standalone/XFdrake +++ b/perl-install/standalone/XFdrake @@ -51,7 +51,6 @@ 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); |