aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-22 12:48:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-22 12:48:27 +0000
commit56dd8dcf3c472067131b810bb1d438f7edc6cf06 (patch)
tree8307825e729ab51a6673149afbaa0a61ce548112 /Keywords
parent900cb69cfc7fe60b1df615085d73ebfda0f089cf (diff)
downloadports-56dd8dcf3c472067131b810bb1d438f7edc6cf06.tar.gz
ports-56dd8dcf3c472067131b810bb1d438f7edc6cf06.zip
Notes
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/desktop-file-utils.ucl11
-rw-r--r--Keywords/shared-mime-info.ucl11
2 files changed, 22 insertions, 0 deletions
diff --git a/Keywords/desktop-file-utils.ucl b/Keywords/desktop-file-utils.ucl
new file mode 100644
index 000000000000..c54a59b59fb8
--- /dev/null
+++ b/Keywords/desktop-file-utils.ucl
@@ -0,0 +1,11 @@
+# $FreeBSD$
+#
+# MAINTAINER: gnome@FreeBSD.org
+
+actions: []
+post-install: <<EOD
+ update-desktop-database -q > /dev/null || true
+EOD
+post-deinstall: <<EOD
+ update-desktop-database -q > /dev/null || true
+EOD
diff --git a/Keywords/shared-mime-info.ucl b/Keywords/shared-mime-info.ucl
new file mode 100644
index 000000000000..f507a4541b98
--- /dev/null
+++ b/Keywords/shared-mime-info.ucl
@@ -0,0 +1,11 @@
+# $FreeBSD$
+#
+# MAINTAINER: gnome@FreeBSD.org
+
+actions: []
+post-install: <<EOD
+ update-mime-database %D/%@ || true
+EOD
+post-deinstall: <<EOD
+ update-mime-database %D/%@ || true
+EOD