From dfe64b9c428633ed5b0b8ef5ddc16d09f690112f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Dec 2014 18:56:02 +0100 Subject: [PATCH] remove obsolete readahead file on upgrade --- systemd.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systemd.spec b/systemd.spec index 331e326..0e09d72 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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 || :