summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-01-04 10:05:20 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-01-04 10:05:20 +0200
commit28dcd5d3b341eb16fceb6cd362e5dd6875b4467b (patch)
tree3c502f74bbf401ce72ccc845e33953f8d71eaf3d /src/apk_package.h
parentd8ba07e484b0c838ce475202f03e041953b183e1 (diff)
downloadapk-tools-28dcd5d3b341eb16fceb6cd362e5dd6875b4467b.tar.gz
apk-tools-28dcd5d3b341eb16fceb6cd362e5dd6875b4467b.tar.bz2
apk-tools-28dcd5d3b341eb16fceb6cd362e5dd6875b4467b.tar.xz
apk-tools-28dcd5d3b341eb16fceb6cd362e5dd6875b4467b.zip
pkg: recognize install_if
Parse install_if from package metadata and include it in the indexes. Also setup the reverse install_if dependencies when loading a database. ref #443. Actual install_if functionality is not yet implemented.
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index 8998c7c..ed25bd4 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -85,7 +85,7 @@ struct apk_package {
apk_blob_t *version, *arch, *license;
char *url, *description;
char *filename;
- struct apk_dependency_array *depends;
+ struct apk_dependency_array *depends, *install_if;
size_t installed_size, size;
unsigned repos;
struct apk_checksum csum;