From a34a2462a83738683c460db6250ff9da45fa8ec8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 6 Oct 2014 12:31:32 +0200 Subject: pacman should not ask for db signature files --- pacredir.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pacredir.c b/pacredir.c index 12bd03d..850b2a8 100644 --- a/pacredir.c +++ b/pacredir.c @@ -370,9 +370,8 @@ static int ahc_echo(void * cls, goto response; } - /* process db file (and signature) request */ - if ((strlen(basename) > 3 && strcmp(basename + strlen(basename) - 3, ".db") == 0) || - (strlen(basename) > 7 && strcmp(basename + strlen(basename) - 7, ".db.sig") == 0)) { + /* process db file request */ + if (strlen(basename) > 3 && strcmp(basename + strlen(basename) - 3, ".db") == 0) { dbfile = 1; /* get timestamp of local file */ filename = malloc(strlen(SYNCPATH) + strlen(basename) + 2); -- cgit v1.2.3-70-g09d2