From 7c2c68df692b8a4ab5ede02bef3e9af7256581aa Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 7 Jan 2020 22:46:32 -0500 Subject: add apk-manifest(8) --- src/manifest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/manifest.c b/src/manifest.c index 8a6d9e8..a75f771 100644 --- a/src/manifest.c +++ b/src/manifest.c @@ -5,7 +5,7 @@ * Copyright (C) 2017 William Pitcock * All rights reserved. * - * This program is free software; you can redistribute it and/or modify it + * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. See http://www.gnu.org/ for details. */ @@ -21,6 +21,7 @@ /* TODO: support package files as well as generating manifest from the installed DB. */ static char *csum_types[APK_CHECKSUM_SHA1 + 1] = { + /* Note: if adding new algorithms, update apk-manifest(8) */ [APK_CHECKSUM_MD5] = "md5", [APK_CHECKSUM_SHA1] = "sha1", }; -- cgit v1.2.3