diff --git a/Casks/a/asix-ax88179.rb b/Casks/a/asix-ax88179.rb index 3fef2d6bb8..ff340839c0 100644 --- a/Casks/a/asix-ax88179.rb +++ b/Casks/a/asix-ax88179.rb @@ -44,7 +44,7 @@ cask "asix-ax88179" do "-pkg", staged_path/"AX88179_178A_Uninstall.pkg", "-target", "/" ], - sudo: true, + sudo: true, sudo_as_root: true end end @@ -74,7 +74,7 @@ cask "asix-ax88179" do "-pkg", staged_path/"AX88179_178A_Uninstall.pkg", "-target", "/" ], - sudo: true, + sudo: true, sudo_as_root: true end end diff --git a/Casks/w/winclone.rb b/Casks/w/winclone.rb index ac066dca65..05855cd850 100644 --- a/Casks/w/winclone.rb +++ b/Casks/w/winclone.rb @@ -23,7 +23,7 @@ cask "winclone" do "-pkg", "#{staged_path}/Uninstaller/Uninstall Winclone.pkg", "-target", "/" ], - sudo: true, + sudo: true, sudo_as_root: true end diff --git a/Casks/w/wireshark-chmodbpf.rb b/Casks/w/wireshark-chmodbpf.rb index 1df2d27bd4..ea0aa234ef 100644 --- a/Casks/w/wireshark-chmodbpf.rb +++ b/Casks/w/wireshark-chmodbpf.rb @@ -25,7 +25,7 @@ cask "wireshark-chmodbpf" do "-pkg", "#{staged_path}/Uninstall ChmodBPF.pkg", "-target", "/" ], - sudo: true, + sudo: true, sudo_as_root: true end diff --git a/Casks/w/wireshark.rb b/Casks/w/wireshark.rb index 890561931d..44ff0c5636 100644 --- a/Casks/w/wireshark.rb +++ b/Casks/w/wireshark.rb @@ -78,14 +78,14 @@ cask "wireshark" do "-pkg", "#{staged_path}/Uninstall ChmodBPF.pkg", "-target", "/" ], - sudo: true, + sudo: true, sudo_as_root: true system_command "/usr/sbin/installer", args: [ "-pkg", "#{staged_path}/Remove Wireshark from the system path.pkg", "-target", "/" ], - sudo: true, + sudo: true, sudo_as_root: true end