xbps_pkg_reverts: this function can do more than just return false!
This commit is contained in:
parent
f7a5d459d7
commit
b5a169b65c
@ -442,7 +442,7 @@ xbps_pkg_reverts(xbps_dictionary_t pkg, const char *pkgver) {
|
||||
for (i = 0; i < xbps_array_count(reverts); i++) {
|
||||
xbps_array_get_cstring_nocopy(reverts, i, &revertver);
|
||||
if (strcmp(version, revertver) == 0) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user