]> git.pld-linux.org Git - packages/tigervnc.git/blobdiff - tigervnc.spec
- updated desktop database and icon cache in post/postun
[packages/tigervnc.git] / tigervnc.spec
index 18cb91ff0d2238b65fee553c7f758eba8b086747..152c5716c5c455c1244d13188742109867ce69ea 100644 (file)
@@ -246,6 +246,14 @@ install media/icons/tigervnc.svg $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/ap
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
+[ ! -x /usr/bin/gtk-update-icon-cache ] || %update_icon_cache hicolor
+
+%postun
+[ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
+[ ! -x /usr/bin/gtk-update-icon-cache ] || %update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc doc/*
This page took 0.049044 seconds and 4 git commands to generate.