[PATCH] Remove parsing of long removed files in .PKGINFO
These fields have not existed for many years. Signed-off-by: Allan McRae <allan@archlinux.org> --- lib/libalpm/be_package.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index eeecb491..99826e15 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -244,10 +244,6 @@ static int parse_descfile(alpm_handle_t *handle, struct archive *a, alpm_pkg_t * CALLOC(backup, 1, sizeof(alpm_backup_t), return -1); STRDUP(backup->name, ptr, FREE(backup); return -1); newpkg->backup = alpm_list_add(newpkg->backup, backup); - } else if(strcmp(key, "force") == 0) { - /* deprecated, skip it */ - } else if(strcmp(key, "makepkgopt") == 0) { - /* not used atm */ } else { _alpm_log(handle, ALPM_LOG_DEBUG, "%s: unknown key '%s' in description file line %d\n", newpkg->name ? newpkg->name : "error", key, linenum); -- 2.34.1
participants (1)
-
Allan McRae