Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Nov 27, 2023
1 parent dde2ccb commit cdbac7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package/Compatibility
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions package/toltec-bootstrap/toltecctl
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ 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"
return 1
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"
Expand Down

0 comments on commit cdbac7c

Please sign in to comment.