From 94737ef41ddc5352289ed3e3f88f3bd34198197d Mon Sep 17 00:00:00 2001 From: nandahkrishna Date: Thu, 25 Mar 2021 21:10:01 +0530 Subject: [PATCH] cask: add password warning for pkg uninstall --- Library/Homebrew/cask/artifact/abstract_uninstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/cask/artifact/abstract_uninstall.rb index 3daf5e2abf..7d209a8725 100644 --- a/Library/Homebrew/cask/artifact/abstract_uninstall.rb +++ b/Library/Homebrew/cask/artifact/abstract_uninstall.rb @@ -312,7 +312,7 @@ module Cask end def uninstall_pkgutil(*pkgs, command: nil, **_) - ohai "Uninstalling packages:" + ohai "Uninstalling packages (your password may be necessary):" pkgs.each do |regex| ::Cask::Pkg.all_matching(regex, command).each do |pkg| puts pkg.package_id