From c1c7e8dc8566b7fd1574356dc16ffa70ded1621d Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sat, 20 Jan 2024 19:09:12 +0000 Subject: [PATCH] caldigit-thunderbolt-charging: Remove line break, shorten lines, and alphabetize correctly --- Casks/c/caldigit-thunderbolt-charging.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Casks/c/caldigit-thunderbolt-charging.rb b/Casks/c/caldigit-thunderbolt-charging.rb index a126ffbc1b..9533c4b67c 100644 --- a/Casks/c/caldigit-thunderbolt-charging.rb +++ b/Casks/c/caldigit-thunderbolt-charging.rb @@ -14,13 +14,13 @@ cask "caldigit-thunderbolt-charging" do pkg "CalDigit-Thunderbolt-Station-Mac-Drivers.pkg" - uninstall kext: "com.CalDigit.ThunderboltStationChargingSupport", + tcs = "ThunderboltStationChargingSupport" + uninstall kext: "com.CalDigit.#{tcs}", pkgutil: [ - "CalDigitThunderboltStationChargingSupport.pkg", - "com.CalDigit.CalDigitThunderboltStationChargingSupport.StationsChargingSupport." \ + "com.CalDigit.CalDigit#{tcs}.StationsChargingSupport.CalDigit#{tcs}.pkg", "com.CalDigit.ThunderboltStation3ChargingSupport.pkg", ], - delete: "/Library/Extensions/CalDigitThunderboltStationChargingSupport.kext" + delete: "/Library/Extensions/CalDigit#{tcs}.kext" caveats do reboot