From f8aad4fca96680a45fdbe1e71670f6d45fe66658 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 11 Jun 2008 14:10:45 -0400 Subject: more spec updates --- scripts/plymouth.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/plymouth.spec b/scripts/plymouth.spec index 16ffc31..a9a310e 100644 --- a/scripts/plymouth.spec +++ b/scripts/plymouth.spec @@ -61,7 +61,7 @@ spins in the shape of an infinity sign. %setup -q %build -%configure --enable-tracing --disable-tests --without-boot-entry +%configure --enable-tracing --disable-tests --without-boot-entry --without-default-plugin make @@ -78,6 +78,10 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%preun +if [ $1 -eq 1 ]; then + %{_sbindir}/plymouth-set-default-plugin --reset +fi %post plugin-spinfinity if [ $1 -eq 1 ]; then @@ -99,6 +103,7 @@ if [ $1 -eq 0 ]; then %{_sbindir}/plymouth-set-default-plugin --reset fi + %files %defattr(-, root, root) %doc AUTHORS NEWS README @@ -106,6 +111,7 @@ fi %{_libexecdir}/plymouth/plymouthd %{_libexecdir}/plymouth/plymouth-update-initrd %{_libexecdir}/plymouth/plymouth-populate-initrd +%{_sbindir}/plymouth/plymouth-set-default-plugin %{_bindir}/plymouth %{_bindir}/rhgb-client %{_libdir}/plymouth/details.so -- cgit