diff options
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c index 86a396c..178aa0e 100644 --- a/src/database.c +++ b/src/database.c @@ -2570,7 +2570,7 @@ static int apk_db_install_v3meta(struct apk_extract_ctx *ectx, struct adb_obj *p // Extract the information not available in index adb_ro_obj(pkg, ADBI_PKG_PKGINFO, &pkginfo); apk_deps_from_adb(&ipkg->replaces, db, adb_ro_obj(&pkginfo, ADBI_PI_REPLACES, &obj)); - ipkg->replaces_priority = adb_ro_int(&pkginfo, ADBI_PI_PRIORITY); + ipkg->replaces_priority = adb_ro_int(pkg, ADBI_PKG_REPLACES_PRIORITY); ipkg->v3 = 1; adb_ro_obj(pkg, ADBI_PKG_SCRIPTS, &scripts); |