mas/script/uninstall
Ross Goldberg e9fcf2b254
Merge branch 'main' into upstream/releases/release-1.8.7
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
2024-10-27 01:25:38 -04:00

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