diff --git a/install b/install index b891d4d..5dcc2c4 100755 --- a/install +++ b/install @@ -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.0.7 +# version: 1.0.8 # if [[ $(id -u) -ne 0 ]]; then @@ -83,10 +83,8 @@ echo "New / permissions = $(stat -c %a /)" 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 -fi +echo "Installing lsb_release..." +apt-get --yes --no-install-recommends --reinstall install lsb-release arch="$(dpkg --print-architecture)" codename="$(lsb_release --codename --short)"