From a5ff76d45e5204af3a98381634e56ad91a8c2ad4 Mon Sep 17 00:00:00 2001 From: Bill Kirkpatrick Date: Wed, 12 May 2010 23:31:39 +0200 Subject: misc/gramps: Added to 12.2 repository --- misc/gramps/doinst.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 misc/gramps/doinst.sh (limited to 'misc/gramps/doinst.sh') diff --git a/misc/gramps/doinst.sh b/misc/gramps/doinst.sh new file mode 100644 index 0000000000..9424ce43ff --- /dev/null +++ b/misc/gramps/doinst.sh @@ -0,0 +1,13 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi -- cgit v1.2.3