commit d233394c1f2bc22e6173ba8a5ee5b82cc98637a2
parent f083ff03c1e42886489b873e517452b0a1a204df
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 29 Dec 2020 19:19:10 +0100
updatemaster: replace deprecated option
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/updatemaster b/scripts/updatemaster
@@ -98,13 +98,13 @@ if command -v brew &> /dev/null; then
brew update;
brew update > /dev/null;
outdated="$(brew outdated)"
- outdated_c="$(brew cask outdated --greedy)"
+ outdated_c="$(brew outdated --cask --greedy)"
if [ "${#outdated_c}" -eq 0 ]; then
echo_succ "No casks to update."
else
notify "Cask: Finished reading updates" "Click to view outdated casks."
echo -e "Casks to update:"
- brew cask outdated --greedy
+ brew outdated --cask --greedy
if [ "$select_casks" -eq 1 ]; then
read -rp "Casks to upgrade (empty string cancels upgrade of casks): " -a CASKS;