mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Fix syntax errors.
This commit is contained in:
@@ -40,10 +40,7 @@ cask "asix-ax88179" do
|
||||
staged_path.glob("AX88179_178A_Uninstall_v*.pkg").first.rename(staged_path/"AX88179_178A_Uninstall.pkg")
|
||||
|
||||
system_command "/usr/sbin/installer",
|
||||
args: [
|
||||
"-pkg", staged_path/"AX88179_178A_Uninstall.pkg",
|
||||
"-target", "/"
|
||||
],
|
||||
args: ["-pkg", staged_path/"AX88179_178A_Uninstall.pkg", "-target", "/"],
|
||||
sudo: true,
|
||||
sudo_as_root: true
|
||||
end
|
||||
@@ -70,10 +67,7 @@ cask "asix-ax88179" do
|
||||
staged_path.glob("ASIX_USB_Device_Un*.pkg").first.rename(staged_path/"AX88179_178A_Uninstall.pkg")
|
||||
|
||||
system_command "/usr/sbin/installer",
|
||||
args: [
|
||||
"-pkg", staged_path/"AX88179_178A_Uninstall.pkg",
|
||||
"-target", "/"
|
||||
],
|
||||
args: ["-pkg", staged_path/"AX88179_178A_Uninstall.pkg", "-target", "/"],
|
||||
sudo: true,
|
||||
sudo_as_root: true
|
||||
end
|
||||
|
||||
+1
-4
@@ -19,10 +19,7 @@ cask "winclone" do
|
||||
|
||||
uninstall_preflight do
|
||||
system_command "/usr/sbin/installer",
|
||||
args: [
|
||||
"-pkg", "#{staged_path}/Uninstaller/Uninstall Winclone.pkg",
|
||||
"-target", "/"
|
||||
],
|
||||
args: ["-pkg", "#{staged_path}/Uninstaller/Uninstall Winclone.pkg", "-target", "/"],
|
||||
sudo: true,
|
||||
sudo_as_root: true
|
||||
end
|
||||
|
||||
@@ -21,10 +21,7 @@ cask "wireshark-chmodbpf" do
|
||||
|
||||
uninstall_preflight do
|
||||
system_command "/usr/sbin/installer",
|
||||
args: [
|
||||
"-pkg", "#{staged_path}/Uninstall ChmodBPF.pkg",
|
||||
"-target", "/"
|
||||
],
|
||||
args: ["-pkg", "#{staged_path}/Uninstall ChmodBPF.pkg", "-target", "/"],
|
||||
sudo: true,
|
||||
sudo_as_root: true
|
||||
end
|
||||
|
||||
@@ -74,17 +74,11 @@ cask "wireshark" do
|
||||
|
||||
uninstall_preflight do
|
||||
system_command "/usr/sbin/installer",
|
||||
args: [
|
||||
"-pkg", "#{staged_path}/Uninstall ChmodBPF.pkg",
|
||||
"-target", "/"
|
||||
],
|
||||
args: ["-pkg", "#{staged_path}/Uninstall ChmodBPF.pkg", "-target", "/"],
|
||||
sudo: true,
|
||||
sudo_as_root: true
|
||||
system_command "/usr/sbin/installer",
|
||||
args: [
|
||||
"-pkg", "#{staged_path}/Remove Wireshark from the system path.pkg",
|
||||
"-target", "/"
|
||||
],
|
||||
args: ["-pkg", "#{staged_path}/Remove Wireshark from the system path.pkg", "-target", "/"],
|
||||
sudo: true,
|
||||
sudo_as_root: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user