summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2018-11-12 14:16:36 +0200
committerTimo Teräs <timo.teras@iki.fi>2018-11-12 14:16:36 +0200
commit47570f80e9f6bf1f3a41bc6e13ec4bf17849c809 (patch)
treea4f9269d9782328eb793a74e44f5e0b910d44510 /src/apk_database.h
parenta86c8ed0828f670b875b418ef10d83bddeca97f6 (diff)
downloadapk-tools-47570f80e9f6bf1f3a41bc6e13ec4bf17849c809.tar.gz
apk-tools-47570f80e9f6bf1f3a41bc6e13ec4bf17849c809.tar.bz2
apk-tools-47570f80e9f6bf1f3a41bc6e13ec4bf17849c809.tar.xz
apk-tools-47570f80e9f6bf1f3a41bc6e13ec4bf17849c809.zip
prefer selecting packages by their primary name
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 2a7cb3b..2c8bdda 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -101,6 +101,7 @@ struct apk_name {
struct apk_name_array *rinstall_if;
unsigned is_dependency : 1;
unsigned auto_select_virtual: 1;
+ unsigned priority : 2;
unsigned int foreach_genid;
union {
struct apk_solver_name_state ss;