foodotfiles/scripts/checkupdates.sh
2022-12-01 21:56:56 +02:00

13 lines
116 B
Bash
Executable File

#!/bin/sh
checkupdates -d
CODE=$?
if [ $CODE -eq 2 ]; then
echo "No updates available"
exit 0
fi
exit $CODE