diff --git a/script/host/aptUpgrade.sh b/script/host/aptUpgrade.sh index 6d2c877..f36828b 100755 --- a/script/host/aptUpgrade.sh +++ b/script/host/aptUpgrade.sh @@ -3,7 +3,7 @@ screen -RS "apt-upgrade" bash -c \ "apt update | tee /dev/tty | grep -qF 'apt list --upgradable' \ && apt upgrade -y \ - && apt autoremove --purge -y \ - && needrestart -m a -r l; \ - echo; \ + && apt autoremove --purge -y; \ + echo ''; \ read -s -p 'Press ENTER to close this screen-session ...'" +needrestart -m a -r l