mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-22 16:43:23 -05:00
Alternatives will definitely work now.
This commit is contained in:
parent
2385ee91c9
commit
28b332bb27
@ -20,6 +20,8 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# 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
|
# You will need to get swim at http://www.sourceforge.net/projects/avd
|
||||||
my $home = "$ENV{HOME}/.gbootroot";
|
my $home = "$ENV{HOME}/.gbootroot";
|
||||||
my $home_yard = "$home/yard";
|
my $home_yard = "$home/yard";
|
||||||
@ -124,6 +126,7 @@ foreach (@alternatives) {
|
|||||||
if ($alternatives{$_}) {
|
if ($alternatives{$_}) {
|
||||||
print DEBIAN "/etc/alternatives/", $alternatives{$_}, "\n";
|
print DEBIAN "/etc/alternatives/", $alternatives{$_}, "\n";
|
||||||
print DEBIAN "/var/lib/dpkg/alternatives/", $alternatives{$_}, "\n";
|
print DEBIAN "/var/lib/dpkg/alternatives/", $alternatives{$_}, "\n";
|
||||||
|
print DEBIAN dirname($_), "/", $alternatives{$_}, "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4044,15 +4044,22 @@
|
|||||||
# Alternative stuff.
|
# Alternative stuff.
|
||||||
/etc/alternatives/nawk
|
/etc/alternatives/nawk
|
||||||
/var/lib/dpkg/alternatives/nawk
|
/var/lib/dpkg/alternatives/nawk
|
||||||
|
/usr/bin/nawk
|
||||||
/etc/alternatives/w
|
/etc/alternatives/w
|
||||||
/var/lib/dpkg/alternatives/w
|
/var/lib/dpkg/alternatives/w
|
||||||
|
/usr/bin/w
|
||||||
/etc/alternatives/vi
|
/etc/alternatives/vi
|
||||||
/var/lib/dpkg/alternatives/vi
|
/var/lib/dpkg/alternatives/vi
|
||||||
|
/usr/bin/vi
|
||||||
/etc/alternatives/ex
|
/etc/alternatives/ex
|
||||||
/var/lib/dpkg/alternatives/ex
|
/var/lib/dpkg/alternatives/ex
|
||||||
|
/usr/bin/ex
|
||||||
/etc/alternatives/view
|
/etc/alternatives/view
|
||||||
/var/lib/dpkg/alternatives/view
|
/var/lib/dpkg/alternatives/view
|
||||||
|
/usr/bin/view
|
||||||
/etc/alternatives/pager
|
/etc/alternatives/pager
|
||||||
/var/lib/dpkg/alternatives/pager
|
/var/lib/dpkg/alternatives/pager
|
||||||
|
/usr/bin/pager
|
||||||
/etc/alternatives/ipfwadm
|
/etc/alternatives/ipfwadm
|
||||||
/var/lib/dpkg/alternatives/ipfwadm
|
/var/lib/dpkg/alternatives/ipfwadm
|
||||||
|
/sbin/ipfwadm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user