Install Qubes replacement files in parallel and overwrite on install.

This commit is contained in:
Tomasz Sterna 2011-04-06 16:38:30 +02:00 committed by Joanna Rutkowska
parent ca9bdf05df
commit 41d62e3cee
4 changed files with 5 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 180 B

After

Width:  |  Height:  |  Size: 180 B

View File

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 314 B

View File

@ -56,7 +56,7 @@ for k in charge script; do
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/$k/
done
done
install -p -m 644 plymouth/plymouthd.defaults $RPM_BUILD_ROOT%{_datadir}/plymouth
install -p -m 644 plymouth/plymouthd.defaults.qubes $RPM_BUILD_ROOT%{_datadir}/plymouth
(cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install)
@ -64,6 +64,9 @@ install -p -m 644 plymouth/plymouthd.defaults $RPM_BUILD_ROOT%{_datadir}/plymout
rm -rf $RPM_BUILD_ROOT
%post
cp -f %{_datadir}/plymouth/plymouthd.defaults.qubes %{_datadir}/plymouth/plymouthd.defaults
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 || :
%files
@ -71,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING COPYING-kde-logo
%{_datadir}/firstboot/themes/*
%{_datadir}/anaconda/pixmaps/*
%{_datadir}/plymouth/plymouthd.defaults
%{_datadir}/plymouth/plymouthd.defaults.qubes
%{_datadir}/plymouth/themes/charge/*
%{_datadir}/plymouth/themes/script/*
%{_datadir}/pixmaps/splash/*