summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-02 11:05:03 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-07-02 11:05:03 +0300
commit608ae57ef7a59f14808bd6df16f7f1bf8fbea584 (patch)
tree62b4f4d8e015df62d7e8c9bf6e7c870f6ab3942a /src
parente184571feb05e822323c763ca5be6e44a21f2e0f (diff)
downloadapk-tools-608ae57ef7a59f14808bd6df16f7f1bf8fbea584.tar.gz
apk-tools-608ae57ef7a59f14808bd6df16f7f1bf8fbea584.tar.bz2
apk-tools-608ae57ef7a59f14808bd6df16f7f1bf8fbea584.tar.xz
apk-tools-608ae57ef7a59f14808bd6df16f7f1bf8fbea584.zip
upgrade: prefer not to upgrade dependencies during self-upgrade
Diffstat (limited to 'src')
-rw-r--r--src/upgrade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upgrade.c b/src/upgrade.c
index 9eb7890..a188908 100644
--- a/src/upgrade.c
+++ b/src/upgrade.c
@@ -51,7 +51,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, solver_flags);
+ apk_solver_set_name_flags(name, solver_flags, 0);
db->performing_self_update = 1;
r = apk_solver_solve(db, 0, db->world, &changeset);