mirror of
https://github.com/mas-cli/mas
synced 2024-11-28 22:40:24 +00:00
📜 Purge Carthage cache and run uninstall from bottle script
This commit is contained in:
parent
ba181e21c6
commit
8e82211a3c
1 changed files with 10 additions and 0 deletions
|
@ -24,6 +24,16 @@ if brew ls --versions mas > /dev/null; then
|
||||||
brew uninstall mas
|
brew uninstall mas
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Uninstall if still found on path
|
||||||
|
if command -v mas > /dev/null; then
|
||||||
|
script/uninstall
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Purge the Carthage cache to avoid this error from Homebrew sandboxing:
|
||||||
|
# A shell task (/usr/bin/env git checkout --quiet --force 0.15.0 (launched in /Users/ben/Library/Caches/org.carthage.CarthageKit/dependencies/Commandant)) failed with exit code 128:
|
||||||
|
# fatal: Unable to create '/Users/ben/Library/Caches/org.carthage.CarthageKit/dependencies/Commandant/./index.lock': Operation not permitted
|
||||||
|
rm -rf ~/Library/Caches/org.carthage.CarthageKit
|
||||||
|
|
||||||
# Build the formula
|
# Build the formula
|
||||||
brew install --build-bottle mas
|
brew install --build-bottle mas
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue