Forráskód Böngészése

Update haos_vm.sh

tteck 4 éve
szülő
commit
2eb625ca13
1 módosított fájl, 1 hozzáadás és 1 törlés
  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"
   echo -e "\e[1;33m Checking for unzip command... \e[0m"
   if ! command -v unzip &> /dev/null; then
   if ! command -v unzip &> /dev/null; then
     echo -e "\e[1;33m Installing Unzip... \e[0m"
     echo -e "\e[1;33m Installing Unzip... \e[0m"
-    apt update
+    apt-get update >/dev/null
     apt install unzip -y
     apt install unzip -y
   fi
   fi
 fi
 fi