From 8e82211a3c1340f1f19f373fb162494e1af6f56b Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Tue, 30 Apr 2019 07:09:06 -0600 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9C=20Purge=20Carthage=20cache=20a?= =?UTF-8?q?nd=20run=20uninstall=20from=20bottle=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/bottle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/script/bottle b/script/bottle index 2f5430c..2be636d 100755 --- a/script/bottle +++ b/script/bottle @@ -24,6 +24,16 @@ if brew ls --versions mas > /dev/null; then brew uninstall mas 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 brew install --build-bottle mas From 2f29ba37386365f1afedfa05cb59b033a88408ac Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Tue, 30 Apr 2019 07:09:35 -0600 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8D=BC=20Update=20mas-tap=20bottle=20?= =?UTF-8?q?hashes=20for=201.6.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Homebrew/mas-tap.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Homebrew/mas-tap.rb b/Homebrew/mas-tap.rb index f6b7343..1a3caab 100644 --- a/Homebrew/mas-tap.rb +++ b/Homebrew/mas-tap.rb @@ -9,10 +9,10 @@ class Mas < Formula bottle do root_url "https://dl.bintray.com/phatblat/mas-bottles" cellar :any - sha256 "451db10c91387ea9eb052b15331960508a94cc828a45e7fc62035e9793eabc04" => :mojave - sha256 "451db10c91387ea9eb052b15331960508a94cc828a45e7fc62035e9793eabc04" => :high_sierra - sha256 "451db10c91387ea9eb052b15331960508a94cc828a45e7fc62035e9793eabc04" => :sierra - sha256 "451db10c91387ea9eb052b15331960508a94cc828a45e7fc62035e9793eabc04" => :el_capitan + sha256 "2e0a42866823ef0dfd0b4e0e86f9016ab634ce7206e56c3520cb6fc18098d955" => :mojave + sha256 "2e0a42866823ef0dfd0b4e0e86f9016ab634ce7206e56c3520cb6fc18098d955" => :high_sierra + sha256 "2e0a42866823ef0dfd0b4e0e86f9016ab634ce7206e56c3520cb6fc18098d955" => :sierra + sha256 "2e0a42866823ef0dfd0b4e0e86f9016ab634ce7206e56c3520cb6fc18098d955" => :el_capitan end depends_on "carthage" => :build