summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-12-21 16:53:47 +0200
committerTimo Teras <timo.teras@iki.fi>2009-12-21 16:53:47 +0200
commit6417de4d1057675bacc06274cab385810b86eed7 (patch)
tree3ac64f217deadd9acd12d5de6cdf665a36086baa /src/apk.c
parentf44f34811dde4e33210e83af8584a99543d528a8 (diff)
downloadapk-tools-6417de4d1057675bacc06274cab385810b86eed7.tar.gz
apk-tools-6417de4d1057675bacc06274cab385810b86eed7.tar.bz2
apk-tools-6417de4d1057675bacc06274cab385810b86eed7.tar.xz
apk-tools-6417de4d1057675bacc06274cab385810b86eed7.zip
apk: remove the unneeded --never-overwrite
turns out the logic does not work with overlays as expected due to busybox symlinks being unmanaged. remove the useless option.
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/apk.c b/src/apk.c
index ee6690f..76c1e4e 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -57,7 +57,6 @@ static struct apk_option generic_options[] = {
{ 0x108, "repositories-file", "Override repositories file",
required_argument, "REPOFILE" },
{ 0x109, "no-network", "Do not use network (cache is still used)" },
- { 0x110, "never-overwrite", "Never overwrite existing files" },
{ 0x111, "overlay-from-stdin", "Read list of overlay files from stdin" },
};
@@ -386,9 +385,6 @@ int main(int argc, char **argv)
case 0x109:
apk_flags |= APK_NO_NETWORK;
break;
- case 0x110:
- apk_flags |= APK_NEVER_OVERWRITE;
- break;
case 0x111:
apk_flags |= APK_OVERLAY_FROM_STDIN;
break;