mas/script/uninstall

20 lines
314 B
Text
Raw Normal View History

2018-10-17 21:47:08 +00:00
#!/bin/bash -e
#
# script/uninstall
# mas
#
# Removes mas and MasKit from PREFIX.
#
2018-10-17 21:47:08 +00:00
PREFIX=/usr/local
# Override default prefix path with optional 1st arg
if test -n "$1"; then
PREFIX="$1"
fi
2018-10-17 21:47:08 +00:00
echo "==> 🔥 Uninstalling mas from $PREFIX"
trash "$PREFIX/Frameworks/MasKit.framework"
trash "$PREFIX/bin/mas"