mas/script/uninstall
2019-01-18 21:37:51 -07:00

19 lines
314 B
Bash
Executable file

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