xbps_find_new_packages(): do not treat missing packages in repo,
or packages with less than or equal version installed as errors. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091016134654-14a5x7b6ra9a632s
This commit is contained in:
parent
e1f2a8b7bd
commit
a60fde85a5
@ -229,8 +229,10 @@ xbps_find_new_packages(void)
|
||||
while ((obj = prop_object_iterator_next(iter)) != NULL) {
|
||||
prop_dictionary_get_cstring_nocopy(obj, "pkgname", &pkgname);
|
||||
rv = xbps_find_new_pkg(pkgname, obj);
|
||||
if (rv == ENOENT || rv == EEXIST)
|
||||
if (rv == ENOENT || rv == EEXIST) {
|
||||
rv = 0;
|
||||
continue;
|
||||
}
|
||||
else if (rv != 0) {
|
||||
prop_object_iterator_release(iter);
|
||||
return rv;
|
||||
|
Loading…
Reference in New Issue
Block a user