caldigit-thunderbolt-charging: Clean up hacky line length workaround

- Use globs for pkgutil entries.
This commit is contained in:
Issy Long
2024-01-21 01:19:01 +00:00
parent c1c7e8dc85
commit bf728db658
+3 -4
View File
@@ -14,13 +14,12 @@ cask "caldigit-thunderbolt-charging" do
pkg "CalDigit-Thunderbolt-Station-Mac-Drivers.pkg"
tcs = "ThunderboltStationChargingSupport"
uninstall kext: "com.CalDigit.#{tcs}",
uninstall kext: "com.CalDigit.ThunderboltStationChargingSupport",
pkgutil: [
"com.CalDigit.CalDigit#{tcs}.StationsChargingSupport.CalDigit#{tcs}.pkg",
"com.CalDigit.CalDigitThunderboltStationChargingSupport*.pkg",
"com.CalDigit.ThunderboltStation3ChargingSupport.pkg",
],
delete: "/Library/Extensions/CalDigit#{tcs}.kext"
delete: "/Library/Extensions/CalDigitThunderboltStationChargingSupport.kext"
caveats do
reboot