X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=cmd%2Fbrew-run;h=7b9ccd61039280619cbd4d69f49ab9a01e077966;hb=50cbe66141958852f6470c4e7392c051e346ecb6;hp=170cbd99a0711d94f753e1fd1a23a7ca584b8ff3;hpb=97eb236ab4bdfa4ce1bd28a71d13443b8e4200d1;p=homebrew-alex.git diff --git a/cmd/brew-run b/cmd/brew-run index 170cbd9..7b9ccd6 100755 --- a/cmd/brew-run +++ b/cmd/brew-run @@ -1,5 +1,5 @@ #!/bin/sh -# 2016-08-14, alex@barton.de +# brew-run -- Update, upgrade, and clean up Hoembrew installation. # Include "ax-common.sh": ax_common_sourced= @@ -22,15 +22,11 @@ outdated=$( brew outdated --quiet | wc -l | tr -d '\t ' ) if [ $outdated -gt 0 ]; then echo ax_msg - "$outdated formula outdated:" - brew outdated || ax_abort "Failed to list outdated packages!" - + brew outdated --verbose || ax_abort "Failed to list outdated packages!" echo - brew upgrade --all || ax_abort "Upgrade failed!" - brew linkapps --local || ax_abort "Linking of applications failed!" + brew upgrade --cleanup || ax_abort "Upgrade failed!" echo - brew cleanup || ax_abort "\"brew cleanup\" failed!" - brew prune || ax_abort "\"brew prune\" failed!" else ax_msg 0 "Nothing outdated." fi