From 0cc41ba4dc47561f8a2299b985be777c2befdb74 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Sat, 1 Jan 2011 12:17:06 +0200 Subject: index: remove support of old index format It's no longer needed or used. --- src/index.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/index.c') 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 = { -- cgit v1.2.3-60-g2f50