remove obsolete readahead file on upgrade

This commit is contained in:
Lennart Poettering 2014-12-11 18:56:02 +01:00
parent 9254d88a74
commit dfe64b9c42
1 changed files with 3 additions and 0 deletions

View File

@ -505,6 +505,9 @@ if [ -f /etc/nsswitch.conf ] ; then
' /etc/nsswitch.conf >/dev/null 2>&1 || :
fi
# remove obsolete systemd-readahead file
rm -f /.readahead > /dev/null 2>&1 || :
%postun
if [ $1 -ge 1 ] ; then
systemctl daemon-reload > /dev/null 2>&1 || :