Use plurar or singular form

This commit is contained in:
2020-03-15 02:42:30 +00:00
parent 0bd7c3bf7b
commit af8bcd446d

View File

@@ -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' \