瀏覽代碼

Update haos_vm.sh

tteck 4 年之前
父節點
當前提交
7be0dae84a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      haos_vm.sh

+ 1 - 1
haos_vm.sh

@@ -113,7 +113,7 @@ if [[ $FILE == *.zip ]]; then
   echo -e "\e[1;33m Checking for unzip command... \e[0m"
   if ! command -v unzip &> /dev/null; then
     echo -e "\e[1;33m Installing Unzip... \e[0m"
-    apt-get update >/dev/null
+    apt update >/dev/null
     apt install unzip -y
   fi
 fi