2020-03-04 12:52:56 -05:00

12 lines
185 B
Bash
Executable File

#!/usr/bin/env sh
updates=$(yay -Qum | wc -l)
if [ "$updates" -eq 1 ]; then
echo "$updates update"
elif [ "$updates" -gt 1 ]; then
echo "$updates updates"
else
echo ""
fi