SIEMbitwardendnscrypthome assistantjellyfinjitsimulti-factor authenticationnextcloudonlyofficepiholeraspberry pirocket.chatsyncthingtorwazuhwireguard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
236 B
10 lines
236 B
|
5 years ago
|
#!/bin/bash
|
||
|
|
|
||
|
|
sudo apt-get update
|
||
|
|
|
||
|
|
UPDATES=$(sudo apt-get dist-upgrade -s --quiet=2 | grep ^Inst | wc -l)
|
||
|
|
|
||
|
|
if [[ "$UPDATES" ~= "0" ]]; then
|
||
|
|
echo "Please run updates: sudo apt-get update && sudo apt-get -y dist-upgrade"
|
||
|
|
exit 1;
|
||
|
|
fi
|