diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-08-13 16:02:02 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-08-13 16:02:02 +0300 |
commit | 892395d5947a0ebb04130df0f92cd107fba44d6d (patch) | |
tree | efb2dd64ef326968fa851b928acaadd9c576c6ca /src/apk_database.h | |
parent | 6b94ed8a7ac353298c4bb7ab1f247b1b1584784e (diff) | |
download | apk-tools-892395d5947a0ebb04130df0f92cd107fba44d6d.tar.gz apk-tools-892395d5947a0ebb04130df0f92cd107fba44d6d.tar.bz2 apk-tools-892395d5947a0ebb04130df0f92cd107fba44d6d.tar.xz apk-tools-892395d5947a0ebb04130df0f92cd107fba44d6d.zip |
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.h | 5 |
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; |