mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-26 10:03:23 -05:00
Make sure normal users have access to /usr/sbin so they can use divert.
This commit is contained in:
parent
89d8f3f6d5
commit
240bf66693
@ -22,6 +22,10 @@
|
||||
|
||||
use strict;
|
||||
use File::Basename;
|
||||
my $sbin = grep(/\/usr\/sbin/,$ENV{'PATH'});
|
||||
if ($sbin == 0) {
|
||||
$ENV{'PATH'} = "/usr/sbin:" . $ENV{'PATH'};
|
||||
}
|
||||
|
||||
# You will need to get swim at http://www.sourceforge.net/projects/avd
|
||||
my $home = "$ENV{HOME}/.gbootroot";
|
||||
@ -795,8 +799,8 @@ sub start_up {
|
||||
home_builder("$home_yard_replacements/etc");
|
||||
}
|
||||
|
||||
print STDERR "Everything is in order, but it never hurts to rebuild swim "
|
||||
. "with --rebuilddb if you haven't done it in awhile\n";
|
||||
#print STDERR "Everything is in order, but it never hurts to rebuild swim "
|
||||
# . "with --rebuilddb if you haven't done it in awhile\n";
|
||||
|
||||
|
||||
} # end start_up
|
||||
|
@ -720,8 +720,8 @@ sub start_up {
|
||||
home_builder("$home_yard_replacements/etc");
|
||||
}
|
||||
|
||||
print "Everything is in order, but it never hurts to rebuild swim " .
|
||||
"with --rebuilddb\n";
|
||||
# print "Everything is in order, but it never hurts to rebuild swim " .
|
||||
# "with --rebuilddb\n";
|
||||
|
||||
|
||||
} # end start_up
|
||||
|
Loading…
x
Reference in New Issue
Block a user