Browse Source

Update haos_vm.sh

tteckster 3 years ago
parent
commit
bd1705f2d2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      haos_vm.sh

+ 2 - 2
haos_vm.sh

@@ -122,7 +122,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 --allow-releaseinfo-change update >/dev/null
+    apt-get update >/dev/null
     apt-get -qqy install unzip &>/dev/null
   fi
 fi
@@ -176,7 +176,7 @@ set +o errtrace
   ' ERR
   if [ "$(command -v kpartx)" = "" ]; then
     echo -e "\e[1;33m Installing kpartx... \e[0m"
-    apt-get --allow-releaseinfo-change update >/dev/null
+    apt-get update >/dev/null
     apt-get -qqy install kpartx &>/dev/null
   fi
   DISK1_PATH="$(pvesm path $DISK1_REF)"