瀏覽代碼

Dist upgrade and cleaning apt commands

DricomDragon 5 年之前
父節點
當前提交
91aff31f99
共有 1 個文件被更改,包括 5 次插入0 次删除
  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