summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2014-12-16 16:54:55 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2014-12-16 16:54:55 -0300
commit6eb8d75db6e18e67ce609be8cd2259abb8f09ae0 (patch)
tree5830740a987c32633a5217cdf01bef529141f49d
parent9b5a17164cd9350b663a0514be9a8f001ed49058 (diff)
libredbdiff-standalone: Fix expac_version_test version comparison
-rwxr-xr-xlibredbdiff-standalone2
1 files changed, 1 insertions, 1 deletions
diff --git a/libredbdiff-standalone b/libredbdiff-standalone
index cb8b804..d4b5512 100755
--- a/libredbdiff-standalone
+++ b/libredbdiff-standalone
@@ -175,7 +175,7 @@ if [[ $update == 0 ]] ; then
elif [[ $pkgname == expac-git ]] ; then
true
elif [[ $pkgname == expac-relative ]] ; then
- if [[ $(vercmp "$(expac %v expac-relative)" 4-2.parabola1) != -1 ]] ; then
+ if [[ $(vercmp "$(expac %v expac-relative)" 4-2.parabola1) == -1 ]] ; then
echo "The version of expac-relative installed on the system is lower than needed." >&2
exit 1
fi