summaryrefslogtreecommitdiffstats
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-08-13 16:02:02 +0300
committerTimo Teras <timo.teras@iki.fi>2009-08-13 16:02:02 +0300
commit892395d5947a0ebb04130df0f92cd107fba44d6d (patch)
treeefb2dd64ef326968fa851b928acaadd9c576c6ca /src/apk_database.h
parent6b94ed8a7ac353298c4bb7ab1f247b1b1584784e (diff)
add: refuse to add bad dependencies to world
allow also overriding old (possibly bad) world dependency. hopefully it's more bullet proof now.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index dfaf0d3..c49eba8 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -64,8 +64,9 @@ struct apk_db_dir_instance {
gid_t gid;
};
-#define APK_NAME_TOPLEVEL 0x0001
-#define APK_NAME_REINSTALL 0x0002
+#define APK_NAME_TOPLEVEL 0x0001
+#define APK_NAME_REINSTALL 0x0002
+#define APK_NAME_TOPLEVEL_OVERRIDE 0x0004
struct apk_name {
apk_hash_node hash_node;