mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 11:33:13 +00:00
18 lines
277 B
Bash
Executable file
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
|