This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# The MacTex website (https://www.tug.org/mactex/uninstalling.html) says it's "difficult" | |
# to uninstall Ghostscript, as installed by MacTex. Their suggestion is to: | |
# open the MacTeX-2015 install package and select "Show Files" from the resulting "File" menu of Apple's installer | |
# and then: | |
# Find files related to Ghostscript and remove them. | |
# which is exactly what this script does. It also prints the names of the deleted files, and moves the files to | |
# the user's Trash instead of actually deleting them. This can help you roll back the effects of the script in | |
# case something goes wrong. |
OlderNewer