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 32ee3bd..8d96634 100644 --- a/src/database.c +++ b/src/database.c @@ -1308,7 +1308,7 @@ int apk_db_install_pkg(struct apk_database *db, /* Install the new stuff */ if (!(newpkg->name->flags & APK_NAME_VIRTUAL)) { - r = apk_db_unpack_pkg(db, newpkg, (oldpkg == NULL), csum, + r = apk_db_unpack_pkg(db, newpkg, (oldpkg != NULL), csum, cb, cb_ctx); if (r != 0) return r; |