From 403191b6b6d24188e5248161780214a9ed39ee55 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 21 Nov 2020 10:52:09 +0530 Subject: [PATCH] Sync dependencies from tap in add_brew_extension --- src/scripts/darwin.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index b0d143bd..e8f2cdf7 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -50,6 +50,8 @@ add_brew_extension() { if ! brew tap | grep -q shivammathur/extensions; then brew tap --shallow shivammathur/extensions >/dev/null 2>&1 fi + tap_dir="$(brew --prefix)/Homebrew/Library/Taps" + sudo mv "$tap_dir"/shivammathur/homebrew-extensions/.github/deps/"$extension"/* "$tap_dir/homebrew/homebrew-core/Formula/" 2>/dev/null || true brew install "$extension@$version" >/dev/null 2>&1 sudo cp "$(brew --prefix)/opt/$extension@$version/$extension.so" "$ext_dir" add_extension_log "$extension" "Installed and enabled"