summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_package.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-29 22:51:54 +0100
committerDan McGee <dan@archlinux.org>2012-03-05 18:44:33 +0100
commitd1151b5ab9c407732ded462a0fe0259dea8dcc2a (patch)
treed693ec6f216e9b4d149cc48cd7bdfaf32394d66d /lib/libalpm/be_package.c
parent78adb71f20ee335dff49e34d33f04817a40002b6 (diff)
downloadpacman-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 'lib/libalpm/be_package.c')
0 files changed, 0 insertions, 0 deletions