diff --git a/upgradeAll.sh b/upgradeAll.sh index 53b867d1a825905098eb49bb46a036f464578560..dd3463fe10ff23d9509e29c62293d5091e91df13 100644 --- a/upgradeAll.sh +++ b/upgradeAll.sh @@ -32,6 +32,7 @@ then aptitude upgrade else unattended-upgrade -d + apt-get install `apt-get -s dist-upgrade | awk '/^Inst.*Security/{print $2}'` fi # Update modules @@ -97,11 +98,3 @@ if [ "$last_kernel" != "$running_kernel" ] then echo "Running on an old kernel, reboot required" fi - -# Verify security upgrades are all done -upgradesremaining=`apt-get -s dist-upgrade |grep "^Inst" |grep -i securi` -if [ ! -z "$upgradesremaining" ] -then - echo "\tSOME SECURITY UPGRADES HAVE NOT BEEN DONE $upgradesremaining" -fi -