summaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-01-01 12:17:06 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-01-01 12:17:06 +0200
commit0cc41ba4dc47561f8a2299b985be777c2befdb74 (patch)
tree706c3d655c2068179fd9e78540e8b129369b2316 /src/index.c
parentb01d144c6922384921f808b190430ad7aa114010 (diff)
downloadapk-tools-0cc41ba4dc47561f8a2299b985be777c2befdb74.tar.gz
apk-tools-0cc41ba4dc47561f8a2299b985be777c2befdb74.tar.bz2
apk-tools-0cc41ba4dc47561f8a2299b985be777c2befdb74.tar.xz
apk-tools-0cc41ba4dc47561f8a2299b985be777c2befdb74.zip
index: remove support of old index format
It's no longer needed or used.
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/index.c b/src/index.c
index a6f9cc4..d2b4b01 100644
--- a/src/index.c
+++ b/src/index.c
@@ -17,8 +17,6 @@
#include "apk_database.h"
#include "apk_print.h"
-#define INDEX_OLD_FORMAT 0x10000
-
struct counts {
int unsatisfied;
};
@@ -46,9 +44,6 @@ static int index_parse(void *ctx, struct apk_db_options *dbopts,
case 'd':
ictx->description = optarg;
break;
- case INDEX_OLD_FORMAT:
- ictx->method = APK_SIGN_GENERATE_V1;
- break;
default:
return -1;
}
@@ -219,8 +214,6 @@ static struct apk_option index_options[] = {
{ 'd', "description", "Embed TEXT as description and version "
"information of the repository index",
required_argument, "TEXT" },
- { INDEX_OLD_FORMAT, "old-format",
- "Specify to create old style index files" }
};
static struct apk_applet apk_index = {