summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-03-23 20:11:42 +0000
committerUlrich Müller <ulm@gentoo.org>2007-03-23 20:11:42 +0000
commit74d34e666022406a6b6a49fc50aff7ddb46576f6 (patch)
treeadf69869ba1573e07764c81b91ac726a7cdeaff0 /app-admin/eselect-emacs/eselect-emacs-0.4.ebuild
parentAdded digest files. (diff)
downloademacs-74d34e666022406a6b6a49fc50aff7ddb46576f6.tar.gz
emacs-74d34e666022406a6b6a49fc50aff7ddb46576f6.tar.bz2
emacs-74d34e666022406a6b6a49fc50aff7ddb46576f6.zip
MimeType added to desktop file.
svn path=/emacs-overlay/; revision=147
Diffstat (limited to 'app-admin/eselect-emacs/eselect-emacs-0.4.ebuild')
-rw-r--r--app-admin/eselect-emacs/eselect-emacs-0.4.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/app-admin/eselect-emacs/eselect-emacs-0.4.ebuild b/app-admin/eselect-emacs/eselect-emacs-0.4.ebuild
index 5e6f3b9..f58c8aa 100644
--- a/app-admin/eselect-emacs/eselect-emacs-0.4.ebuild
+++ b/app-admin/eselect-emacs/eselect-emacs-0.4.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils
+inherit eutils fdo-mime
DESCRIPTION="Manages the /usr/bin/emacs symlink"
HOMEPAGE="http://www.gentoo.org/"
@@ -24,3 +24,11 @@ src_install() {
insinto /usr/share/eselect/modules
doins emacs.eselect || die "doins failed"
}
+
+pkg_postinst() {
+ use X && fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ use X && fdo-mime_desktop_database_update
+}