diff --git a/bitbar/brew-cask-upgrades.1h.sh b/bitbar/brew-cask-upgrades.1h.sh index 0761b2d..b5f64b1 100755 --- a/bitbar/brew-cask-upgrades.1h.sh +++ b/bitbar/brew-cask-upgrades.1h.sh @@ -33,7 +33,11 @@ main() { echo ":tropical_drink:↑${count} | dropdown=false" echo '---' - echo "$count outdated casks" + if [ "$count" == "1" ]; then + echo "$count outdated cask" + else + echo "$count outdated casks" + fi if [ "$count" -gt 0 ]; then echo 'Upgrade all casks | terminal=true refresh=true' \