diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-01-01 12:17:06 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-01-01 12:17:06 +0200 |
commit | 0cc41ba4dc47561f8a2299b985be777c2befdb74 (patch) | |
tree | 706c3d655c2068179fd9e78540e8b129369b2316 /src/index.c | |
parent | b01d144c6922384921f808b190430ad7aa114010 (diff) | |
download | aports-0cc41ba4dc47561f8a2299b985be777c2befdb74.tar.bz2 aports-0cc41ba4dc47561f8a2299b985be777c2befdb74.tar.xz |
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.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/index.c b/src/index.c index a6f9cc4f61..d2b4b01824 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 = { |