From ed9ce89a82a42ea8ec91935def9d421ce087c65d Mon Sep 17 00:00:00 2001 From: Bruno 21 Date: Sun, 17 Mar 2019 09:54:38 +0100 Subject: [PATCH] oubli --- _homebrew.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_homebrew.sh b/_homebrew.sh index ea66f7c..b7cb415 100755 --- a/_homebrew.sh +++ b/_homebrew.sh @@ -4,6 +4,10 @@ # https://github.com/welcoMattic/kymsu # Error: Cask 'onyx' definition is invalid: invalid 'depends_on macos' value: :snow_leopard +# Supprimer manuellement onyx de /Applications +# rm -rvf "$(brew --prefix)/Caskroom/onyx" +# ou +# /usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/perl -i -0pe 's/depends_on macos: \[.*?\]//gsm;s/depends_on macos: .*//g' # Display info on updated pakages display_info=true @@ -129,6 +133,7 @@ if [ -n "$latest" ] && [ "$no_distract" = false ]; then for i in "$latest" do echo "$i" | awk '{print $1}' | xargs -p -n 1 brew cask upgrade --greedy + echo $? done else echo "Ok, let's continue"