summaryrefslogtreecommitdiff
path: root/src/package.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-01-16 13:59:36 +0200
committerTimo Teras <timo.teras@iki.fi>2009-01-16 13:59:36 +0200
commit3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2 (patch)
treec152bd82b0fbb5e573a944534d670a54a5a3bbc6 /src/package.c
parent6354a278883161704c7f8650a3bdde77f163c6ad (diff)
downloadapk-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/package.c')
-rw-r--r--src/package.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/package.c b/src/package.c
index 59ca93a..d4147ff 100644
--- a/src/package.c
+++ b/src/package.c
@@ -112,10 +112,7 @@ static int parse_depend(void *ctx, apk_blob_t blob)
return -1;
*dep = (struct apk_dependency){
- .prefer_upgrade = 0,
- .version_mask = 0,
.name = name,
- .version = NULL,
};
return 0;