[epiphany] Silence the rpm scriptlet output
Kalev Lember
kalev at fedoraproject.org
Thu Apr 19 21:05:53 UTC 2012
commit c7a499a28d65732c8aaf4d6433eb36f1633a592c
Author: Kalev Lember <kalevlember at gmail.com>
Date: Thu Apr 19 20:47:30 2012 +0300
Silence the rpm scriptlet output
epiphany.spec | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/epiphany.spec b/epiphany.spec
index a1adb70..723b947 100644
--- a/epiphany.spec
+++ b/epiphany.spec
@@ -135,20 +135,20 @@ ln -sf %{major_version}/plugins $RPM_BUILD_ROOT%{_libdir}/epiphany/plugins
ln -sf %{major_version}/extensions $RPM_BUILD_ROOT%{_libdir}/epiphany/extensions
%post
-update-desktop-database -q %{_datadir}/applications
+update-desktop-database %{_datadir}/applications &> /dev/null || :
%pre
%gconf_schema_obsolete epiphany epiphany-lockdown
%postun
-update-desktop-database -q %{_datadir}/applications
+update-desktop-database %{_datadir}/applications &> /dev/null || :
if [ $1 -eq 0 ]; then
- glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
+ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
-glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files -f %{name}.lang
@@ -175,6 +175,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
%changelog
* Thu Apr 19 2012 Kalev Lember <kalevlember at gmail.com> - 1:3.4.1-1
- Update to 3.4.1
+- Silence the rpm scriptlet output
* Fri Mar 30 2012 Debarshi Ray <rishi at fedoraproject.org> - 1:3.4.0.1-2
- Update %%{major_version}.
More information about the scm-commits
mailing list