make sure lsb-release is installed properly
This commit is contained in:
parent
ee58df4a0b
commit
c6751f4fe8
8
install
8
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)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user