]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - plymouth/plymouth.nm
plymouth: Fix twice specified postun scriptlet.
[people/amarx/ipfire-3.x.git] / plymouth / plymouth.nm
index 2e53c8a9057cfed12bd7621e015799b0b57fabfe..957e321684fa497069f6599d82fcdb4dea25403e 100644 (file)
@@ -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