mirror of
https://github.com/mas-cli/mas
synced 2024-11-24 20:43:10 +00:00
🐛 Stability fixes for bottle script
This commit is contained in:
parent
76f72503ed
commit
903b538f40
1 changed files with 6 additions and 1 deletions
|
@ -26,7 +26,7 @@ fi
|
|||
|
||||
# Uninstall if still found on path
|
||||
if command -v mas > /dev/null; then
|
||||
script/uninstall
|
||||
script/uninstall || true # ignore failure
|
||||
fi
|
||||
|
||||
# Purge the Carthage cache to avoid this error from Homebrew sandboxing:
|
||||
|
@ -34,6 +34,11 @@ fi
|
|||
# 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
|
||||
|
||||
# Uninstall carthage via Mint
|
||||
if command -v mint > /dev/null; then
|
||||
mint uninstall carthage
|
||||
fi
|
||||
|
||||
# Build the formula
|
||||
brew install --build-bottle mas
|
||||
|
||||
|
|
Loading…
Reference in a new issue