builddep_funcs.sh: fix previous.

--HG--
extra : convert_revision : 70c08dcf839c17581eca0d4003e9ed5c975c77f9
This commit is contained in:
Juan RP 2009-03-19 00:30:44 +01:00
parent 6a9d6518c9
commit 5e9bc6fde0
1 changed files with 1 additions and 1 deletions

View File

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