drop echos

This commit is contained in:
Ray Strode 2008-06-18 03:32:31 +00:00
parent e8953b5a73
commit 10070c47df

View File

@ -87,7 +87,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%postun %postun
echo plymouth postun "$@"
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
rm %{_libdir}/plymouth/default.so rm %{_libdir}/plymouth/default.so
fi fi
@ -96,13 +95,11 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%post plugin-spinfinity %post plugin-spinfinity
echo plymouth-spinfinity post "$@"
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
%{_sbindir}/plymouth-set-default-plugin spinfinity %{_sbindir}/plymouth-set-default-plugin spinfinity
fi fi
%postun plugin-spinfinity %postun plugin-spinfinity
echo plymouth-spinfinity postun "$@"
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "spinfinity" ]; then if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "spinfinity" ]; then
%{_sbindir}/plymouth-set-default-plugin --reset %{_sbindir}/plymouth-set-default-plugin --reset
@ -110,13 +107,11 @@ if [ $1 -eq 0 ]; then
fi fi
%post plugin-fade-in %post plugin-fade-in
echo plymouth-fade-in post "$@"
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
%{_sbindir}/plymouth-set-default-plugin fade-in %{_sbindir}/plymouth-set-default-plugin fade-in
fi fi
%postun plugin-fade-in %postun plugin-fade-in
echo plymouth-fade-in postun "$@"
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "fade-in" ]; then if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "fade-in" ]; then
%{_sbindir}/plymouth-set-default-plugin --reset %{_sbindir}/plymouth-set-default-plugin --reset