mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
Cleaning up mistakes. :P
This commit is contained in:
parent
b03a2388a3
commit
96a0115630
@ -125,7 +125,7 @@ void _alpm_pkg_free(void *data)
|
||||
/* Is pkgB an upgrade for pkgA ? */
|
||||
int alpm_pkg_compare_versions(pmpkg_t *pkgA, pmpkg_t *pkgB)
|
||||
{
|
||||
if(spkg->origin == PKG_FROM_CACHE) {
|
||||
if(pkgB->origin == PKG_FROM_CACHE) {
|
||||
/* ensure we have the /desc file, which contains the 'force' option */
|
||||
_alpm_db_read(pkgB->data, INFRQ_DESC, pkgB);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user