mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-10-30 15:25:34 -04: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 | ||||
| #    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"; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user