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