diff options
author | Dan McGee <dan@archlinux.org> | 2012-02-29 22:51:54 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-05 18:44:33 +0100 |
commit | d1151b5ab9c407732ded462a0fe0259dea8dcc2a (patch) | |
tree | d693ec6f216e9b4d149cc48cd7bdfaf32394d66d /test | |
parent | 78adb71f20ee335dff49e34d33f04817a40002b6 (diff) | |
download | pacman-d1151b5ab9c407732ded462a0fe0259dea8dcc2a.tar.gz pacman-d1151b5ab9c407732ded462a0fe0259dea8dcc2a.tar.xz |
Database cleanup enhancements
Ensure we give database signatures special treatment like we already did
for package signatures. Attempt to parse the database name out of them
before taking the proper steps to handle their existence. This fixes
FS#28714.
We also add an unlink_verbose() helper method that displays any errors
that occur when unlinking, optionally opting to skip any ENOENT errors
from being fatal.
Finally, the one prompt per unknown database has been removed, this has
no real sound purpose and we don't do this for packages. Simply kill
databases we don't know about; other programs shouldn't have random data
in this directory anyway.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions