mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-16 21:27:44 +00:00
13 lines
116 B
Bash
Executable File
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
|