xbps: fix inverted test in latest patch.
This commit is contained in:
parent
fa1e886443
commit
fcf4486158
|
@ -17,7 +17,7 @@ index dd07677..658fdd6 100644
|
|||
(pkgd = xbps_pkgdb_get_virtualpkg(xhp, cfpkg))) {
|
||||
prop_dictionary_get_cstring_nocopy(pkgd,
|
||||
"pkgver", &pkgver);
|
||||
+ if (strcmp(pkgver, repopkgver))
|
||||
+ if (strcmp(pkgver, repopkgver) == 0)
|
||||
+ continue;
|
||||
+
|
||||
xbps_dbg_printf(xhp, "found conflicting installed "
|
||||
|
@ -27,7 +27,7 @@ index dd07677..658fdd6 100644
|
|||
(pkgd = xbps_find_virtualpkg_in_array(xhp, unsorted, cfpkg))) {
|
||||
prop_dictionary_get_cstring_nocopy(pkgd,
|
||||
"pkgver", &pkgver);
|
||||
+ if (strcmp(pkgver, repopkgver))
|
||||
+ if (strcmp(pkgver, repopkgver) == 0)
|
||||
+ continue;
|
||||
+
|
||||
xbps_dbg_printf(xhp, "found conflicting pkgs in "
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xbps'
|
||||
pkgname=xbps
|
||||
version=0.20
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=configure
|
||||
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
|
||||
--enable-tests --enable-static --enable-debug"
|
||||
|
|
Loading…
Reference in New Issue