From: Stefan Schantl Date: Tue, 3 Jul 2012 18:11:50 +0000 (+0200) Subject: plymouth: Fix twice specified postun scriptlet. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=518d7dc58c9458fc4c3e2e91eaa628df99f73221;p=ipfire-3.x.git plymouth: Fix twice specified postun scriptlet. --- diff --git a/plymouth/plymouth.nm b/plymouth/plymouth.nm index 2e53c8a90..957e32168 100644 --- a/plymouth/plymouth.nm +++ b/plymouth/plymouth.nm @@ -5,7 +5,7 @@ name = plymouth version = 0.8.5.1 -release = 1 +release = 2 groups = System/Base url = http://www.freedesktop.org/wiki/Software/Plymouth @@ -127,15 +127,14 @@ packages # Tell systemd that unitfiles have been removed. script postun /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : + + # Remove initrd image with plymouth. + rm -f /boot/initrd-plymouth.img end script posttransin /usr/lib/plymouth/plymouth-generate-initrd >/dev/null 2>&1 end - - script postun - rm -f /boot/initrd-plymouth.img - end end package %{name}-libs