From dd222aa211054b5c9b129013c75bb89615a7d30f Mon Sep 17 00:00:00 2001 From: tteck Date: Mon, 16 Aug 2021 18:54:40 -0400 Subject: [PATCH] Update haos_vm.sh --- haos_vm.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/haos_vm.sh b/haos_vm.sh index 7688e63f..dd9250ec 100644 --- a/haos_vm.sh +++ b/haos_vm.sh @@ -113,8 +113,8 @@ 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 update >/dev/null - apt install unzip -y + apt-get --allow-releaseinfo-change update >/dev/null + apt-get -qqy install unzip &>/dev/null fi fi @@ -167,7 +167,7 @@ set +o errtrace ' ERR if [ "$(command -v kpartx)" = "" ]; then echo -e "\e[1;33m Installing kpartx... \e[0m" - apt-get update >/dev/null + apt-get --allow-releaseinfo-change update >/dev/null apt-get -qqy install kpartx &>/dev/null fi DISK1_PATH="$(pvesm path $DISK1_REF)"