13 lines
252 B
Ruby
13 lines
252 B
Ruby
require "tap"
|
|
|
|
module Homebrew
|
|
def tap_unpin
|
|
ARGV.named.each do |name|
|
|
tap = Tap.fetch(name)
|
|
raise "Homebrew/homebrew is not allowed" if tap.core_formula_repository?
|
|
tap.unpin
|
|
ohai "Unpinned #{tap.name}"
|
|
end
|
|
end
|
|
end
|