From b692ebd8229e57b203a3205529b405e292f5962e Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Fri, 15 Feb 2019 11:29:39 +0100 Subject: [PATCH] tweaking --- iso/installer/install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iso/installer/install.sh b/iso/installer/install.sh index f1325f6a..2fd90861 100755 --- a/iso/installer/install.sh +++ b/iso/installer/install.sh @@ -5,6 +5,15 @@ # Extract command line arguments # ################################## +# Check for LSB command +myLSBCMD=$(which lsb_release) +if [ "$myLSBCHECK" = "" ]; + then + apt-get -y update + apt-get -y install lsb-release +fi + +# Check for Debian release myLSB=$(lsb_release -c | awk '{ print $2 }') myLSB_STABLE_SUPPORTED="stretch" myLSB_TESTING_SUPPORTED="sid"