From 1f73f74e072c3ee9a003f3efa91569062b027af2 Mon Sep 17 00:00:00 2001 From: Jeff Lane Date: Fri, 21 Aug 2020 12:25:11 -0400 Subject: bin/maas-version-check: removed the 2.0 version check that is causing issues, since we no longer need it anyway. lp: #1892525 --- bin/maas-version-check.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/maas-version-check.sh b/bin/maas-version-check.sh index 6856354..25e233f 100755 --- a/bin/maas-version-check.sh +++ b/bin/maas-version-check.sh @@ -18,17 +18,14 @@ # along with this program. If not, see . MAAS_FILE="/etc/installed-by-maas" -MIN_VERSION="2.0" # Is the file there? if [ -s $MAAS_FILE ]; then maas_version=$(cat $MAAS_FILE) echo "$maas_version" + exit 0 else echo "ERROR: This system does not appear to have been installed by MAAS" echo "ERROR: " "$(ls -l $MAAS_FILE 2>&1)" exit 1 fi - -#is the version appropriate -exit "$(dpkg --compare-versions "$maas_version" "ge" $MIN_VERSION)" -- cgit v1.2.3