[frogr] Ensure debian packaging machinery updates the desktop database
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Ensure debian packaging machinery updates the desktop database
- Date: Fri, 21 Jan 2011 19:38:31 +0000 (UTC)
commit 65572c035ce57b07b7ab4bf57951a9daf067e0dc
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Fri Jan 21 19:36:48 2011 +0100
Ensure debian packaging machinery updates the desktop database
debian/frogr.postinst | 1 +
debian/frogr.postrm | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/debian/frogr.postinst b/debian/frogr.postinst
index 1728dfd..ed0eeb5 100644
--- a/debian/frogr.postinst
+++ b/debian/frogr.postinst
@@ -5,6 +5,7 @@ set -e
if which gtk-update-icon-cache >/dev/null 2>&1 ; then
rm -f /usr/share/icons/hicolor/icon-theme.cache
gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1
+ update-desktop-database /usr/share/applications > /dev/null 2>&1
update-mime-database /usr/share/mime > /dev/null 2>&1
fi
diff --git a/debian/frogr.postrm b/debian/frogr.postrm
index 1728dfd..ed0eeb5 100644
--- a/debian/frogr.postrm
+++ b/debian/frogr.postrm
@@ -5,6 +5,7 @@ set -e
if which gtk-update-icon-cache >/dev/null 2>&1 ; then
rm -f /usr/share/icons/hicolor/icon-theme.cache
gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1
+ update-desktop-database /usr/share/applications > /dev/null 2>&1
update-mime-database /usr/share/mime > /dev/null 2>&1
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]