parent
							
								
									c73e873893
								
							
						
					
					
						commit
						3994d5937d
					
				@ -243,6 +243,8 @@ class Keg
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    aliases.each do |a|
 | 
			
		||||
      # versioned aliases are handled below
 | 
			
		||||
      next if a =~ /.+@./
 | 
			
		||||
      alias_symlink = opt/a
 | 
			
		||||
      if alias_symlink.symlink? && alias_symlink.exist?
 | 
			
		||||
        alias_symlink.delete if alias_symlink.realpath == opt_record.realpath
 | 
			
		||||
@ -252,7 +254,7 @@ class Keg
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    Pathname.glob("#{opt_record}@*").each do |a|
 | 
			
		||||
      a = a.basename
 | 
			
		||||
      a = a.basename.to_s
 | 
			
		||||
      next if aliases.include?(a)
 | 
			
		||||
 | 
			
		||||
      alias_symlink = opt/a
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user