Use triggers in qubes-logo

This commit is contained in:
Joanna Rutkowska 2011-04-06 23:59:06 +02:00
parent 54ceaa39cc
commit 480398d9cf

View File

@ -63,12 +63,18 @@ install -p -m 644 plymouth/plymouthd.defaults.qubes $RPM_BUILD_ROOT%{_datadir}/p
%clean
rm -rf $RPM_BUILD_ROOT
%post
%triggerin -- plymouth
cp -f %{_datadir}/plymouth/plymouthd.defaults.qubes %{_datadir}/plymouth/plymouthd.defaults
/usr/sbin/plymouth-set-default-theme script || :
%triggerin -- plymouth-theme-script
cp -f %{_datadir}/plymouth/themes/script/progress_bar.png.qubes %{_datadir}/plymouth/themes/script/progress_bar.png
cp -f %{_datadir}/plymouth/themes/script/progress_box.png.qubes %{_datadir}/plymouth/themes/script/progress_box.png
/usr/sbin/plymouth-set-default-theme script || :
%post
/usr/sbin/plymouth-set-default-theme script || :
%files
%defattr(-, root, root)
%doc COPYING COPYING-kde-logo