From 6eb8d75db6e18e67ce609be8cd2259abb8f09ae0 Mon Sep 17 00:00:00 2001 From: Esteban Carnevale Date: Tue, 16 Dec 2014 16:54:55 -0300 Subject: libredbdiff-standalone: Fix expac_version_test version comparison --- libredbdiff-standalone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3