From 67cd22b26a6802dd8dc88274b17117a5dfb7b7c4 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Oct 25 2006 16:18:21 +0000 Subject: - Update desktop database on installation. --- diff --git a/international-time.spec b/international-time.spec index b56aa7b..896d528 100644 --- a/international-time.spec +++ b/international-time.spec @@ -48,6 +48,14 @@ desktop-file-install --vendor fedora \ %clean rm -rf %{buildroot} +%post +/usr/bin/update-desktop-database &>/dev/null ||: + +%postun +if [ "$1" = "0" ]; then + /usr/bin/update-desktop-database &>/dev/null ||: +fi + %files %defattr(-,root,root,-) %doc COPYING @@ -56,6 +64,9 @@ rm -rf %{buildroot} %{_datadir}/applications/* %changelog +* Wed Oct 25 2006 Tim Waugh +- Update desktop database on installation. + * Wed Oct 18 2006 Tim Waugh 0.0.2-1 - 0.0.2. More fixes from package review.