Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am oghma on github.
  • I am oghma (https://keybase.io/oghma) on keybase.
  • I have a public key ASDU0OhAHqLbuuKVZEO45bPlsXrPEtJmyjW33f1SXK4O3go

To claim this, I am signing this object:

@Oghma
Oghma / uninstall-ghostscript.sh
Last active March 31, 2017 20:57 — forked from gwerbin/uninstall-ghostscript.sh
Uninstall Ghostscript that comes with MacTex
#!/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.