diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-09-16 17:10:50 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-09-16 17:10:50 +0300 |
commit | 51999c97dabf9fbbe352ca3ead02851a982fcade (patch) | |
tree | ec1033d2d1079b24691246c23137e65d517c5b9b /src/upgrade.c | |
parent | bcd0d45a49c89fd809f0a028012196f5a9527c99 (diff) | |
download | apk-tools-51999c97dabf9fbbe352ca3ead02851a982fcade.tar.gz apk-tools-51999c97dabf9fbbe352ca3ead02851a982fcade.tar.bz2 apk-tools-51999c97dabf9fbbe352ca3ead02851a982fcade.tar.xz apk-tools-51999c97dabf9fbbe352ca3ead02851a982fcade.zip |
solver: inheritable solver flags
allow per-name solver flags to be inheritable, and use them in
self-upgrade, add -u and the fix applet. this gives more familiar
behaviour for the upgrades.
Diffstat (limited to 'src/upgrade.c')
-rw-r--r-- | src/upgrade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upgrade.c b/src/upgrade.c index dd53c19..e8883ad 100644 --- a/src/upgrade.c +++ b/src/upgrade.c @@ -49,7 +49,7 @@ int apk_do_self_upgrade(struct apk_database *db, unsigned short solver_flags) int r; name = apk_db_get_name(db, APK_BLOB_STR("apk-tools")); - apk_solver_set_name_flags(name, solver_flags); + apk_solver_set_name_flags(name, solver_flags, solver_flags); db->performing_self_update = 1; r = apk_solver_solve(db, 0, db->world, &solution, &changeset); |