rpms/plymouth/devel plymouth-0.7.0-fix-set-default.patch, NONE, 1.1 plymouth.spec, 1.121, 1.122

Ray Strode rstrode at fedoraproject.org
Fri Mar 6 23:08:40 UTC 2009


Author: rstrode

Update of /cvs/pkgs/rpms/plymouth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3592

Modified Files:
	plymouth.spec 
Added Files:
	plymouth-0.7.0-fix-set-default.patch 
Log Message:
- Fix set default script


plymouth-0.7.0-fix-set-default.patch:

--- NEW FILE plymouth-0.7.0-fix-set-default.patch ---
diff -up plymouth-0.7.0/scripts/plymouth-set-default-plugin.fix-set-default plymouth-0.7.0/scripts/plymouth-set-default-plugin
--- plymouth-0.7.0/scripts/plymouth-set-default-plugin.fix-set-default	2009-03-06 18:05:04.348305491 -0500
+++ plymouth-0.7.0/scripts/plymouth-set-default-plugin	2009-03-06 18:05:16.368307465 -0500
@@ -139,6 +139,6 @@ fi
 
 (cd ${LIBDIR}/plymouth;
         ln -sf ${PLUGIN_NAME}.so default.so && \
-        [ $DO_INITRD_REBUILD -ne 0 ] && \
-        $LIBEXECDIR/plymouth/plymouth-update-initrd)
+        ([ $DO_INITRD_REBUILD -ne 0 ] && \
+          $LIBEXECDIR/plymouth/plymouth-update-initrd) || :)
 
diff -up plymouth-0.7.0/scripts/plymouth-set-default-plugin.in.fix-set-default plymouth-0.7.0/scripts/plymouth-set-default-plugin.in
--- plymouth-0.7.0/scripts/plymouth-set-default-plugin.in.fix-set-default	2009-03-06 18:04:48.494054716 -0500
+++ plymouth-0.7.0/scripts/plymouth-set-default-plugin.in	2009-03-06 18:04:58.738052455 -0500
@@ -139,6 +139,6 @@ fi
 
 (cd ${LIBDIR}/plymouth;
         ln -sf ${PLUGIN_NAME}.so default.so && \
-        [ $DO_INITRD_REBUILD -ne 0 ] && \
-        $LIBEXECDIR/plymouth/plymouth-update-initrd)
+        ([ $DO_INITRD_REBUILD -ne 0 ] && \
+          $LIBEXECDIR/plymouth/plymouth-update-initrd) || :)
 


Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/devel/plymouth.spec,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- plymouth.spec	6 Mar 2009 22:58:08 -0000	1.121
+++ plymouth.spec	6 Mar 2009 23:08:10 -0000	1.122
@@ -5,7 +5,7 @@
 Summary: Graphical Boot Animation and Logger
 Name: plymouth
 Version: 0.7.0
-Release: 0.2009.03.06.1%{?dist}
+Release: 0.2009.03.06.2%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -19,6 +19,7 @@
 Requires: initscripts >= 8.83-1
 
 Obsoletes: plymouth-text-and-details-only < %{version}-%{release}
+Patch0: plymouth-0.7.0-fix-set-default.patch
 
 %description
 Plymouth provides an attractive graphical boot animation in
@@ -149,6 +150,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .fix-set-default
 
 %build
 %configure --enable-tracing --disable-tests --without-boot-entry \
@@ -319,6 +321,9 @@
 %defattr(-, root, root)
 
 %changelog
+* Fri Mar  6 2009 Ray Strode <rstrode at redhat.com> 0.7.0-0.2009.03.06.2
+- Fix set default script
+
 * Fri Mar  6 2009 Ray Strode <rstrode at redhat.com> 0.7.0-0.2009.03.06.1
 - more scriptlet changes to move from solar to spinfinity
 




More information about the fedora-extras-commits mailing list