Fix syntax errors.

This commit is contained in:
Ilya Kulakov
2023-11-27 21:42:13 -08:00
parent 885531c2d9
commit 9ddff0a5a2
4 changed files with 6 additions and 24 deletions
+2 -8
View File
@@ -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
View File
@@ -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
+1 -4
View File
@@ -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
+2 -8
View File
@@ -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