diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2020-08-21 12:25:11 -0400 |
---|---|---|
committer | Jeff Lane <jeffrey.lane@canonical.com> | 2020-08-21 12:25:11 -0400 |
commit | 1f73f74e072c3ee9a003f3efa91569062b027af2 (patch) | |
tree | 60ff76f0643c5084c33a6f486b7cf6f52734a7e2 /bin | |
parent | b6851153494fe721e1402a9c49ab2d6e1d1f164e (diff) |
bin/maas-version-check: removed the 2.0 version check that is causing issues, since we no longer need it anyway. lp: #1892525
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/maas-version-check.sh | 5 |
1 files changed, 1 insertions, 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 <http://www.gnu.org/licenses/>. 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)" |