Emerald installer now downloads the package. Both scripts identify themselves.
[ibg.git] / tools / uninstall-emerald.sh
index c2a464003aabac288a38b293af1b95a053e2a401..ad1c0f86c858022f989a7e72d45aca19ca6cdc0d 100755 (executable)
@@ -6,12 +6,14 @@
 # Created by David Griffith <dave@661.org>
 # Released into the public domain 2016
 
+echo "Emerald CTAN package uninstaller..."
+
 if [ `ps -o uid= $$` -ne 0 ] ; then
        echo "This script must be run as root"
        exit 1
 fi
 
-TEXMFLOCAL=`kpsewhich -var TEXMFLOCAL`
+TEXMFLOCAL=`kpsewhich -var-value TEXMFLOCAL`
 
 echo "Deleting emerald from $TEXMFLOCAL..."