eth-its / autopkg-mac-recipes-yaml

AutoPkg recipes for deployment of Mac software via Jamf Pro, in use at ETH Zürich
Apache License 2.0
33 stars 10 forks source link

TeXShop Uninstaller not working #38

Closed katidzehnder closed 2 years ago

katidzehnder commented 3 years ago

Uninstaller needs modification due to application beeing stored in /Applications/TeX/TeXShop.app

grahampugh commented 2 years ago

@katidzehnder I think this is now fixed.

katidzehnder commented 2 years ago

/Applications/TeX/ is left behind. Application is deleted.

grahampugh commented 2 years ago

@katidzehnder I have updated the script to check for an empty /Applications/TeX folder (after deleting the .DS_Store folder), it is now deleting the folder if empty. Might be worth testing against a MacTeX installation too.

katidzehnder commented 2 years ago

Now it is fine. I did test uninstallation with both MacTeX and TexShop. Uninstaller does remove /Applications/TeX now if it is empty after uninstallation but leaves it, if there is still applications present.