]> git.pld-linux.org Git - packages/osmo.git/commitdiff
- update icons cache after (un)install master auto/th/osmo-0.4.4-1
authorKrzysztof Mrozowicz <mrozowik@pld-linux.org>
Tue, 15 Mar 2022 12:27:52 +0000 (12:27 +0000)
committerKrzysztof Mrozowicz <mrozowik@pld-linux.org>
Tue, 15 Mar 2022 12:27:52 +0000 (12:27 +0000)
osmo.spec

index 68da4b5a7f0974332a17a0fd2d401947d25e0995..7c9982414d84ac0a2a65480bd630cd8f30311085 100644 (file)
--- a/osmo.spec
+++ b/osmo.spec
@@ -24,6 +24,8 @@ BuildRequires:        libical-devel >= 0.27
 BuildRequires: libnotify-devel >= 0.7.0
 BuildRequires: libxml2-devel >= 2.0
 BuildRequires: pkgconfig
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): hicolor-icon-theme
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -74,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %post
+%update_icon_cache hicolor
 %banner %{name} -e << EOF
 
 Since version 0.4.0 Osmo uses XDG Base Directory Specification
@@ -92,6 +95,9 @@ export XDG_DATA_HOME="path/to/osmo/data"
 
 EOF
 
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TRANSLATORS
This page took 0.097262 seconds and 4 git commands to generate.