add --allow-releaseinfo-change flag to apt-get update

This commit is contained in:
Aaron Murray 2021-08-27 06:53:34 -05:00
parent 26d919aa93
commit dac47050c9

View File

@ -13,7 +13,7 @@
# https://github.com/armbian/config/blob/master/debian-software
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
#
# version: 1.5.0
# version: 1.5.1
#
if [[ $(id -u) -ne 0 ]]; then
@ -116,7 +116,7 @@ fi
echo "Updating repos before installing..."
apt-get update
apt-get --allow-releaseinfo-change update
echo "Installing lsb_release..."
apt-get --yes --no-install-recommends --reinstall install lsb-release