mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 13:00:23 +00:00
e9fcf2b254
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> # Manual Merge Cleanup: # .actrc # .github/workflows/pr-checks.yml # .github/workflows/release.yml # Brewfile # script/test # script/version_bump # Conflicts: # .github/workflows/build-test.yml # .gitignore # .swiftlint.yml # Brewfile.lock.json # Package.resolved # Sources/mas/Package.swift # Tests/masTests/.swiftlint.yml # script/bootstrap # script/build # script/format # script/lint # script/uninstall # script/version
18 lines
280 B
Bash
Executable file
18 lines
280 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 -F "$PREFIX/bin/mas" || true
|