From 260667f99a16d7d435c3cccf0b206de97bc519d5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 8 Feb 2001 15:28:10 +0000 Subject: make sure SHARE_PATH is set now in standalone --- perl-install/standalone.pm | 2 ++ perl-install/standalone/XFdrake | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.1