diff --git a/README.md b/README.md index 1375494..dd62e5b 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,9 @@ ### INSTALLATION First clone the repository, then you have two choices: - you can build the script and install it on your system, and benefit of command-line completion, man page and extensibility, -- or make an embedded version with every thing you need in one file -Alternatively, you could also change the installation directories by editing the Makefile. +- or make an embedded version with every thing you need in one file. + +Alternatively, you can change the installation directories by editing the Makefile. ```shell # Install on your system (assumes root rights) diff --git a/love-release.sh b/love-release.sh index fdc4096..f9509db 100755 --- a/love-release.sh +++ b/love-release.sh @@ -125,8 +125,8 @@ compare_version () { fi ;; lt|\< ) - if (( $v1_maj > $v2_maj || ( $v1_max == $v2_max && $v1_min > $v2_min ) || - ( $v1_max == $v2_max && $v1_min == $v2_min && $v1_rev > $v2_rev ) )); then + if (( $v1_maj < $v2_maj || ( $v1_max == $v2_max && $v1_min < $v2_min ) || + ( $v1_max == $v2_max && $v1_min == $v2_min && $v1_rev < $v2_rev ) )); then echo "true" else echo "false"