]> git.pld-linux.org Git - packages/tigervnc.git/commitdiff
- updated desktop database and icon cache in post/postun
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 10 Oct 2010 18:56:44 +0000 (18:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tigervnc.spec -> 1.5

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.193483 seconds and 4 git commands to generate.