Skip to content

Commit

Permalink
app-text/xdvik: Call xdg_desktop_database_update() (bug #628826).
Browse files Browse the repository at this point in the history
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Sep 28, 2017
1 parent 8effb27 commit 729f17f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app-text/xdvik/xdvik-22.87.03.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=5
inherit eutils flag-o-matic elisp-common toolchain-funcs multilib
inherit elisp-common eutils flag-o-matic multilib toolchain-funcs xdg-utils

DESCRIPTION="DVI previewer for X Window System"
HOMEPAGE="http://xdvi.sourceforge.net/"
Expand Down Expand Up @@ -92,10 +92,16 @@ src_install() {
}

pkg_postinst() {
xdg_desktop_database_update

if use emacs; then
elog "Add"
elog " (add-to-list 'load-path \"${EPREFIX}${SITELISP}/tex-utils\")"
elog " (require 'xdvi-search)"
elog "to your ~/.emacs file"
fi
}

pkg_postrm() {
xdg_desktop_database_update
}

0 comments on commit 729f17f

Please sign in to comment.