]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
plymouth: Fix twice specified postun scriptlet.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 3 Jul 2012 18:11:50 +0000 (20:11 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 3 Jul 2012 18:11:50 +0000 (20:11 +0200)
plymouth/plymouth.nm

index 2e53c8a9057cfed12bd7621e015799b0b57fabfe..957e321684fa497069f6599d82fcdb4dea25403e 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = plymouth
 version    = 0.8.5.1
 
 name       = plymouth
 version    = 0.8.5.1
-release    = 1
+release    = 2
 
 groups     = System/Base
 url        = http://www.freedesktop.org/wiki/Software/Plymouth
 
 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 || :
                # 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
                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
        end
 
        package %{name}-libs