diff --git a/haos_vm.sh b/haos_vm.sh index de7c9566..41befcae 100644 --- a/haos_vm.sh +++ b/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." \ No newline at end of file +info "Completed Successfully! New VM ID is \e[1m$VMID\e[0m."