mas/script/uninstall
2024-02-18 08:22:24 -07:00

18 lines
277 B
Bash
Executable file

#!/bin/bash -e
#
# script/uninstall
# mas
#
# Removes mas from PREFIX.
#
# Override default prefix path with optional 1st arg
if test -n "$1"; then
PREFIX="$1"
else
PREFIX=$(brew --prefix)
fi
echo "==> 🔥 Uninstalling mas from $PREFIX"
trash "$PREFIX/bin/mas" || true