mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
* The info level for this was wrong, causing replacements to not really work
This commit is contained in:
parent
faad70aa54
commit
78ecf9a12b
@ -861,8 +861,8 @@ alpm_list_t SYMEXPORT *alpm_pkg_get_replaces(pmpkg_t *pkg)
|
|||||||
ASSERT(handle != NULL, return(NULL));
|
ASSERT(handle != NULL, return(NULL));
|
||||||
ASSERT(pkg != NULL, return(NULL));
|
ASSERT(pkg != NULL, return(NULL));
|
||||||
|
|
||||||
if(pkg->origin == PKG_FROM_CACHE && !(pkg->infolevel & INFRQ_DEPENDS)) {
|
if(pkg->origin == PKG_FROM_CACHE && !(pkg->infolevel & INFRQ_DESC)) {
|
||||||
_alpm_db_read(pkg->data, pkg, INFRQ_DEPENDS);
|
_alpm_db_read(pkg->data, pkg, INFRQ_DESC);
|
||||||
}
|
}
|
||||||
return pkg->replaces;
|
return pkg->replaces;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user