update repos at beginning

This commit is contained in:
Aaron Murray 2019-12-03 09:03:18 -06:00
parent b7983316a0
commit d8b4c8d8b4

View File

@ -37,6 +37,9 @@ if [ -f /etc/armbian-release ]; then
. /etc/armbian-release
fi
echo "Updating repos before installing..."
apt-get update
if [ ! -f "/usr/bin/lsb_release" ]; then
echo "Installing lsb_release..."
apt-get --yes --no-install-recommends install lsb-release