Quellcode durchsuchen

Dist upgrade and cleaning apt commands

DricomDragon vor 5 Jahren
Ursprung
Commit
91aff31f99
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5 0
      CommonScripts/upoff

+ 5 - 0
CommonScripts/upoff

@@ -7,6 +7,11 @@ sudo apt-get update
 
 
 echo [UpOff] Upgrading system ...
 echo [UpOff] Upgrading system ...
 sudo apt-get -y upgrade
 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 !
 echo [upOff] Upgrade terminated. Good night !
 systemctl poweroff
 systemctl poweroff