diff options
author | Christian Hesse <mail@eworm.de> | 2014-10-06 12:31:32 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-10-06 12:31:32 +0200 |
commit | a34a2462a83738683c460db6250ff9da45fa8ec8 (patch) | |
tree | 852b56e4384ba303a8caa66079c226cbcd7afa78 | |
parent | d2b4d68ac62363cdad2067c946f7bf1a1feb4d0f (diff) | |
download | paccache-a34a2462a83738683c460db6250ff9da45fa8ec8.tar.gz paccache-a34a2462a83738683c460db6250ff9da45fa8ec8.tar.zst |
pacman should not ask for db signature files
-rw-r--r-- | pacredir.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |