parent
							
								
									c9e45b9c26
								
							
						
					
					
						commit
						45c9e84c15
					
				@ -67,9 +67,9 @@ module Homebrew
 | 
				
			|||||||
    if keg.linked?
 | 
					    if keg.linked?
 | 
				
			||||||
      opoo "Skipping (old) #{keg} due to it being linked"
 | 
					      opoo "Skipping (old) #{keg} due to it being linked"
 | 
				
			||||||
    elsif ARGV.dry_run?
 | 
					    elsif ARGV.dry_run?
 | 
				
			||||||
      puts "Would remove: #{keg}"
 | 
					      puts "Would remove: #{keg} (#{keg.abv})"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      puts "Removing: #{keg}..."
 | 
					      puts "Removing: #{keg}... (#{keg.abv})"
 | 
				
			||||||
      keg.uninstall
 | 
					      keg.uninstall
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
@ -94,9 +94,9 @@ module Homebrew
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  def cleanup_cached_file file
 | 
					  def cleanup_cached_file file
 | 
				
			||||||
    if ARGV.dry_run?
 | 
					    if ARGV.dry_run?
 | 
				
			||||||
      puts "Would remove: #{file}"
 | 
					      puts "Would remove: #{file} (#{file.abv})"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      puts "Removing: #{file}..."
 | 
					      puts "Removing: #{file}... (#{file.abv})"
 | 
				
			||||||
      file.unlink
 | 
					      file.unlink
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user