Explorar o código

Update haos_vm.sh

tteck %!s(int64=4) %!d(string=hai) anos
pai
achega
27d0e3f955
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      haos_vm.sh

+ 2 - 2
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
+    apt update
     apt install unzip -y
   fi
 fi
@@ -185,4 +185,4 @@ set +o errtrace
   qm set $VMID -serial0 socket >/dev/null
 )
 
-info "Completed Successfully! New VM ID is \e[1m$VMID\e[0m."
+info "Completed Successfully! New VM ID is \e[1m$VMID\e[0m."