summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8c9533d)
Use "outdated --verbose" and "upgrade --cleanup", "cleanup" and "prune"
isn't necessary any more. And show a header before calling "linkups".
if [ $outdated -gt 0 ]; then
echo
ax_msg - "$outdated formula outdated:"
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!"
- brew upgrade --all || ax_abort "Upgrade failed!"
- brew linkapps --local || ax_abort "Linking of applications failed!"
+ brew upgrade --cleanup || ax_abort "Upgrade failed!"
- brew cleanup || ax_abort "\"brew cleanup\" failed!"
- brew prune || ax_abort "\"brew prune\" failed!"
+
+ ax_msg - "Linking applications ..."
+ brew linkapps --local || ax_abort "Linking of applications failed!"
else
ax_msg 0 "Nothing outdated."
fi
else
ax_msg 0 "Nothing outdated."
fi