Skip to content
Snippets Groups Projects
Commit 291977d8 authored by Jack Nagel's avatar Jack Nagel
Browse files

Run `tap --repair` as part of `prune`

And by extension, `cleanup`.

Fixes Homebrew/homebrew#18658.
parent eb16d746
No related branches found
No related tags found
No related merge requests found
require 'keg'
require 'cmd/tap'
module Homebrew extend self
# $n and $d are used by the ObserverPathnameExtension to keep track of
......@@ -28,6 +29,8 @@ module Homebrew extend self
dirs.sort.reverse_each{ |d| d.rmdir_if_possible }
repair_taps
if $n == 0 and $d == 0
puts "Nothing pruned" if ARGV.verbose?
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment