Browse Source

Alternatives will definitely work now.

master
freesource 24 years ago
parent
commit
28b332bb27
  1. 3
      yard/scripts/make_debian
  2. 7
      yard/templates/Debian.yard

3
yard/scripts/make_debian

@ -20,6 +20,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
use File::Basename;
# You will need to get swim at http://www.sourceforge.net/projects/avd
my $home = "$ENV{HOME}/.gbootroot";
my $home_yard = "$home/yard";
@ -124,6 +126,7 @@ foreach (@alternatives) {
if ($alternatives{$_}) {
print DEBIAN "/etc/alternatives/", $alternatives{$_}, "\n";
print DEBIAN "/var/lib/dpkg/alternatives/", $alternatives{$_}, "\n";
print DEBIAN dirname($_), "/", $alternatives{$_}, "\n";
}
}

7
yard/templates/Debian.yard

@ -4044,15 +4044,22 @@
# Alternative stuff.
/etc/alternatives/nawk
/var/lib/dpkg/alternatives/nawk
/usr/bin/nawk
/etc/alternatives/w
/var/lib/dpkg/alternatives/w
/usr/bin/w
/etc/alternatives/vi
/var/lib/dpkg/alternatives/vi
/usr/bin/vi
/etc/alternatives/ex
/var/lib/dpkg/alternatives/ex
/usr/bin/ex
/etc/alternatives/view
/var/lib/dpkg/alternatives/view
/usr/bin/view
/etc/alternatives/pager
/var/lib/dpkg/alternatives/pager
/usr/bin/pager
/etc/alternatives/ipfwadm
/var/lib/dpkg/alternatives/ipfwadm
/sbin/ipfwadm

Loading…
Cancel
Save