summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/standalone.pm2
-rwxr-xr-xperl-install/standalone/XFdrake1
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);