- add Filemd5s to Filedigests

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=26
This commit is contained in:
Michael Schröder 2009-09-04 10:43:04 +00:00 committed by Git OBS Bridge
parent b81765cc36
commit a3652e840c

View File

@ -273,6 +273,9 @@ if test -s var/lib/rpm/packages.rpm ; then
mv -f var/lib/rpm/packages.rpm var/lib/rpm/packages.rpm3
rm -f var/lib/rpm/conflictsindex.rpm var/lib/rpm/fileindex.rpm var/lib/rpm/groupindex.rpm var/lib/rpm/nameindex.rpm var/lib/rpm/providesindex.rpm var/lib/rpm/requiredby.rpm var/lib/rpm/triggerindex.rpm
fi
if test -s var/lib/rpm/Filemd5s -a ! -e var/lib/rpm/Filedigests ; then
ln var/lib/rpm/Filemd5s var/lib/rpm/Filedigests
fi
%postun
%{insserv_cleanup}