builddep_funcs.sh: fix previous.
--HG-- extra : convert_revision : 70c08dcf839c17581eca0d4003e9ed5c975c77f9
This commit is contained in:
parent
6a9d6518c9
commit
5e9bc6fde0
|
@ -166,7 +166,7 @@ check_installed_pkg()
|
|||
iver="$($XBPS_REGPKGDB_CMD version $pkgname)"
|
||||
if [ -n "$iver" ]; then
|
||||
xbps-cmpver $pkgname-$iver $pkgname-$reqver
|
||||
[ $? -eq 0 -o $? -eq 1] && return 0
|
||||
[ $? -eq 0 -o $? -eq 1 ] && return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue