Fix typos

This commit is contained in:
Antonin Décimo
2015-06-13 01:27:12 +02:00
parent 9dd8d37d3d
commit ea90092ead
2 changed files with 5 additions and 4 deletions

View File

@@ -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)

View File

@@ -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"