Browse Source

Make sure normal users have access to /usr/sbin so they can use divert.

master
freesource 23 years ago
parent
commit
240bf66693
  1. 8
      add-ons/yard/make-debian-X11/make_debian-X11
  2. 4
      yard/scripts/make_debian

8
add-ons/yard/make-debian-X11/make_debian-X11

@ -22,6 +22,10 @@
use strict; use strict;
use File::Basename; 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 # You will need to get swim at http://www.sourceforge.net/projects/avd
my $home = "$ENV{HOME}/.gbootroot"; my $home = "$ENV{HOME}/.gbootroot";
@ -795,8 +799,8 @@ sub start_up {
home_builder("$home_yard_replacements/etc"); home_builder("$home_yard_replacements/etc");
} }
print STDERR "Everything is in order, but it never hurts to rebuild swim " #print STDERR "Everything is in order, but it never hurts to rebuild swim "
. "with --rebuilddb if you haven't done it in awhile\n"; # . "with --rebuilddb if you haven't done it in awhile\n";
} # end start_up } # end start_up

4
yard/scripts/make_debian

@ -720,8 +720,8 @@ sub start_up {
home_builder("$home_yard_replacements/etc"); home_builder("$home_yard_replacements/etc");
} }
print "Everything is in order, but it never hurts to rebuild swim " . # print "Everything is in order, but it never hurts to rebuild swim " .
"with --rebuilddb\n"; # "with --rebuilddb\n";
} # end start_up } # end start_up

Loading…
Cancel
Save