dev-cmd/bottle: run sudo --purge
non-interactively.
This should avoid hanging if permissions are not granted.
This commit is contained in:
parent
95e04cbf29
commit
ea1a3ea6e0
@ -208,7 +208,7 @@ module Homebrew
|
|||||||
def sudo_purge
|
def sudo_purge
|
||||||
return unless ENV["HOMEBREW_BOTTLE_SUDO_PURGE"]
|
return unless ENV["HOMEBREW_BOTTLE_SUDO_PURGE"]
|
||||||
|
|
||||||
system "/usr/bin/sudo", "/usr/sbin/purge"
|
system "/usr/bin/sudo", "--non-interactive", "/usr/sbin/purge"
|
||||||
end
|
end
|
||||||
|
|
||||||
def bottle_formula(f)
|
def bottle_formula(f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user