1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-22 08:33:24 -05:00

Alternatives will definitely work now.

This commit is contained in:
freesource 2001-08-23 04:51:36 +00:00
parent 2385ee91c9
commit 28b332bb27
2 changed files with 10 additions and 0 deletions

View File

@ -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";
}
}

View File

@ -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