mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
12 lines
185 B
Bash
Executable File
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
|