Skip to content

A free open source IT asset/license management system

Fixed #8482 - Ubuntu version (#8598)

Charles Hamilton4fd666716f89
diff --git a/snipeit.sh b/snipeit.sh
index bd4b1b80e8..d6d65619b8 100755
--- a/snipeit.sh
+++ b/snipeit.sh
@@ -438,7 +438,7 @@ case $distro in
fi
;;
ubuntu)
- if [ "$version" -ge "18.04" ]; then
+ if [ "${version//./}" -ge "1804" ]; then
# Install for Ubuntu 18.04
tzone=$(cat /etc/timezone)