diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2012-07-12 19:37:50 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2012-07-12 19:37:50 +0900 |
commit | 6fbeb9223b4fa942933f4ceaea0c25161b1e6e55 (patch) | |
tree | cc108fcc4a85d2f17770eaa3e14801500423c568 /ibus-anthy.spec.in | |
parent | 3947c625ffd89dfe269e78a4ce9de98f1cd91a2e (diff) | |
download | ibus-anthy-6fbeb9223b4fa942933f4ceaea0c25161b1e6e55.tar.gz |
Added anthy themed icon.
Diffstat (limited to 'ibus-anthy.spec.in')
-rw-r--r-- | ibus-anthy.spec.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ibus-anthy.spec.in b/ibus-anthy.spec.in index 5fbe6df..faeed8f 100644 --- a/ibus-anthy.spec.in +++ b/ibus-anthy.spec.in @@ -65,6 +65,18 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libanthygobject-%{sub_version}.la %clean rm -rf $RPM_BUILD_ROOT +%post +# recreate icon cache +touch --no-create %{_datadir}/icons/hicolor || : +[ -x %{_bindir}/gtk-update-icon-cache ] && \ + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +# recreate icon cache +touch --no-create %{_datadir}/icons/hicolor || : +[ -x %{_bindir}/gtk-update-icon-cache ] && \ + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING README |