diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-01-07 22:46:32 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-01-26 09:01:26 +0200 |
commit | 7c2c68df692b8a4ab5ede02bef3e9af7256581aa (patch) | |
tree | 7671ee1175a58a6de31dc7f41954148ea6e9fbd8 /src | |
parent | f3412acb853ddbd330c5fe6da93e052a40c0a3d4 (diff) | |
download | apk-tools-7c2c68df692b8a4ab5ede02bef3e9af7256581aa.tar.gz apk-tools-7c2c68df692b8a4ab5ede02bef3e9af7256581aa.tar.bz2 apk-tools-7c2c68df692b8a4ab5ede02bef3e9af7256581aa.tar.xz apk-tools-7c2c68df692b8a4ab5ede02bef3e9af7256581aa.zip |
add apk-manifest(8)
Diffstat (limited to 'src')
-rw-r--r-- | src/manifest.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <nenolod@dereferenced.org> * 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", }; |