Sfoglia il codice sorgente

Dist upgrade and cleaning apt commands

DricomDragon 5 anni fa
parent
commit
91aff31f99
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      CommonScripts/upoff

+ 5 - 0
CommonScripts/upoff

@@ -7,6 +7,11 @@ sudo apt-get update
 
 echo [UpOff] Upgrading system ...
 sudo apt-get -y upgrade
+sudo apt-get -y dist-upgrade
+
+echo [UpOff] Cleaning ...
+sudo apt-get -y autoremove
+sudo apt-get autoclean
 
 echo [upOff] Upgrade terminated. Good night !
 systemctl poweroff