diff --git a/package/Compatibility b/package/Compatibility index 4381e60ca..d41bd276c 100644 --- a/package/Compatibility +++ b/package/Compatibility @@ -1,2 +1,4 @@ +rm1-min-os-version: 2.6.1.71 rm1-max-os-version: 2.15.1.1189 +rm2-min-os-version: 2.6.1.71 rm2-max-os-version: 2.15.1.1189 diff --git a/package/toltec-bootstrap/toltecctl b/package/toltec-bootstrap/toltecctl index 51c378889..c26638a6b 100644 --- a/package/toltec-bootstrap/toltecctl +++ b/package/toltec-bootstrap/toltecctl @@ -98,7 +98,7 @@ check-version() { if ! install-standalone-opkg "$opkg_path"; then return 1 fi - if "$opkg_path" compare-versions $current_version '>>' $supported_version > /dev/null; then + if "$opkg_path" compare-versions $current_version '>>' "$supported_version" > /dev/null; then echo "You’re running an unsupported OS version: $current_version" echo "Toltec currently supports versions up to $supported_version" echo "Please monitor Toltec releases for upcoming support" @@ -106,7 +106,7 @@ check-version() { fi rm -f "$opkg_path" else - if opkg compare-versions $current_version '>>' $supported_version > /dev/null; then + if opkg compare-versions $current_version '>>' "$supported_version" > /dev/null; then echo "You’re running an unsupported OS version: $current_version" echo "Toltec currently supports versions up to $supported_version" echo "Please monitor Toltec releases for upcoming support"