index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-09-14 18:52:56 -0700 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-09-23 17:12:01 +1000 |
commit | ff7ff3c58dcdb858c253e8e7fea1d758cdff0312 (patch) | |
tree | 404844a11fb5656b0965ed462d2eee39ac3fcc00 | |
parent | d85d9c8c6044bc58963c41df8b6c15de1356ab2f (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 6 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 9350793a..601f1d69 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -688,7 +688,13 @@ static int prompt_to_delete(alpm_handle_t *handle, const char *filepath, }; QUESTION(handle, &question); if(question.remove) { + char *sig_filepath; + unlink(filepath); + + sig_filepath = _alpm_sigpath(handle, filepath); + unlink(sig_filepath); + FREE(sig_filepath); } return question.remove; } |