mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-18 21:27:42 +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
|