- more scriptlet changes to move from solar to spinfinity

This commit is contained in:
Ray Strode 2009-03-06 22:55:41 +00:00
parent 4e8354fb43
commit 14df4f39f7

View File

@ -196,6 +196,16 @@ fi
%post libs -p /sbin/ldconfig %post libs -p /sbin/ldconfig
%postun 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 %postun plugin-spinfinity
export LIB=%{_lib} export LIB=%{_lib}
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
@ -212,12 +222,6 @@ if [ $1 -eq 0 ]; then
fi fi
fi fi
%post plugin-solar
export LIB=%{_lib}
if [ $1 -eq 1 ]; then
%{_sbindir}/plymouth-set-default-plugin solar
fi
%postun plugin-solar %postun plugin-solar
export LIB=%{_lib} export LIB=%{_lib}
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
@ -315,6 +319,9 @@ fi
%defattr(-, root, root) %defattr(-, root, root)
%changelog %changelog
* Fri Mar 6 2009 Ray Strode <rstrode@redhat.com> 0.7.0-0.2009.03.06.1
- more scriptlet changes to move from solar to spinfinity
* Fri Mar 6 2009 Ray Strode <rstrode@redhat.com> 0.7.0-0.2009.03.06 * Fri Mar 6 2009 Ray Strode <rstrode@redhat.com> 0.7.0-0.2009.03.06
- Updated to development snapshot - Updated to development snapshot
- Guess progress better on second boot of persistent live images - Guess progress better on second boot of persistent live images