You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
116 B
Bash
13 lines
116 B
Bash
2 years ago
|
#!/bin/sh
|
||
|
|
||
|
checkupdates -d
|
||
|
|
||
|
CODE=$?
|
||
|
|
||
|
if [ $CODE -eq 2 ]; then
|
||
|
echo "No updates available"
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
exit $CODE
|