Silence rpm scriptlet output
Redirect it to /dev/null; end users aren't supposed to see the warnings generated by e.g. glib-compile-schemas. http://fedoraproject.org/wiki/Packaging:ScriptletSnippets
This commit is contained in:
parent
5a6ebd285b
commit
d2be27177c
@ -2,7 +2,7 @@ Summary: Help browser for the GNOME desktop
|
|||||||
Name: yelp
|
Name: yelp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.4.1
|
Version: 3.4.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
#VCS: git:git://git.gnome.org/yelp
|
#VCS: git:git://git.gnome.org/yelp
|
||||||
Source: http://download.gnome.org/sources/yelp/3.4/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/yelp/3.4/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
@ -88,13 +88,13 @@ touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|||||||
%postun
|
%postun
|
||||||
update-desktop-database &> /dev/null ||:
|
update-desktop-database &> /dev/null ||:
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
|
||||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
||||||
gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
|
gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
|
||||||
gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
|
gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
|
||||||
|
|
||||||
|
|
||||||
@ -117,6 +117,9 @@ gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.4.1-2
|
||||||
|
- Silence rpm scriptlet output
|
||||||
|
|
||||||
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.4.1-1
|
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.4.1-1
|
||||||
- Update to 3.4.1
|
- Update to 3.4.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user