builddep_funcs.sh: match 0 or 1 for satisfied deps, 255 equals to -1.
--HG-- extra : convert_revision : 84c67be32bb250a828b8cd16fa0e3b4ee88a737a
This commit is contained in:
parent
5e1e539cf6
commit
209e19ce55
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ check_installed_pkg()
|
|||
iver="$($XBPS_REGPKGDB_CMD version $pkgname)"
|
||||
if [ -n "$iver" ]; then
|
||||
xbps-cmpver $pkgname-$iver $pkgname-$reqver
|
||||
[ $? -ge 0 ] && return 0
|
||||
[ $? -eq 0 -o $? -eq 1] && return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue