Need to remove rpm db files after running rpm in the post section.

This commit is contained in:
Bruno Wolff III
2011-01-26 00:51:41 -06:00
parent c1b6a08450
commit 60096cecce
3 changed files with 6 additions and 0 deletions

View File

@@ -309,6 +309,8 @@ rm -f /var/lib/rpm/__db*
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
echo "Packages within this LiveCD"
rpm -qa
# Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db*
# go ahead and pre-make the man -k cache (#455968)
/usr/bin/mandb