diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-01-16 13:59:36 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-01-16 13:59:36 +0200 |
commit | 3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2 (patch) | |
tree | c152bd82b0fbb5e573a944534d670a54a5a3bbc6 /src/apk_package.h | |
parent | 6354a278883161704c7f8650a3bdde77f163c6ad (diff) | |
download | apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.gz apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.bz2 apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.xz apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.zip |
add: --upgrade|-u to control if upgrading is preferred or not
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index 1978aca..c6eaa1c 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -36,12 +36,9 @@ struct apk_script { }; struct apk_dependency { - unsigned conflict : 1; - unsigned prefer_upgrade : 1; - unsigned version_mask : 3; - struct apk_name *name; - char *version; + char *min_version; + char *max_version; }; APK_ARRAY(apk_dependency_array, struct apk_dependency); |