[ghex] Added icon cache scriplets
Kalev Lember
kalev at fedoraproject.org
Sat Sep 10 09:17:47 UTC 2011
commit 3db942c29672aa83b18176e64e0accf7b52d705e
Author: Kalev Lember <kalevlember at gmail.com>
Date: Sat Sep 10 11:57:58 2011 +0300
Added icon cache scriplets
ghex.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ghex.spec b/ghex.spec
index d7822e8..98ce0a5 100644
--- a/ghex.spec
+++ b/ghex.spec
@@ -55,15 +55,19 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop
%post
/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}-3.0.lang
@@ -91,6 +95,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
- Updated description
- Don't require scrollkeeper
- Make sure files aren't listed twice in %%files
+- Added icon cache scriplets
* Sat Aug 13 2011 Adel Gadllah <adel.gadllah at gmail.com> - 2.90.0-1
- Update to 2.90.0 - now uses GTK3
More information about the scm-commits
mailing list