From 14df4f39f7960879243f9fe6d903d3f8ed15a0f1 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Fri, 6 Mar 2009 22:55:41 +0000 Subject: [PATCH] - more scriptlet changes to move from solar to spinfinity --- plymouth.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/plymouth.spec b/plymouth.spec index 4db57ae..0a61648 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -196,6 +196,16 @@ fi %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig +%post plugin-spinfinity +export LIB=%{_lib} +if [ $1 -eq 1 ]; then + %{_sbindir}/plymouth-set-default-plugin spinfinity +else + if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "solar" ]; then + %{_sbindir}/plymouth-set-default-plugin spinfinity + fi +fi + %postun plugin-spinfinity export LIB=%{_lib} if [ $1 -eq 0 ]; then @@ -212,12 +222,6 @@ if [ $1 -eq 0 ]; then fi fi -%post plugin-solar -export LIB=%{_lib} -if [ $1 -eq 1 ]; then - %{_sbindir}/plymouth-set-default-plugin solar -fi - %postun plugin-solar export LIB=%{_lib} if [ $1 -eq 0 ]; then @@ -315,6 +319,9 @@ fi %defattr(-, root, root) %changelog +* Fri Mar 6 2009 Ray Strode 0.7.0-0.2009.03.06.1 +- more scriptlet changes to move from solar to spinfinity + * Fri Mar 6 2009 Ray Strode 0.7.0-0.2009.03.06 - Updated to development snapshot - Guess progress better on second boot of persistent live images