summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-04-15 22:13:54 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-04-15 22:13:54 +0300
commit1aaf18848213241fa491b421d2742112ff4bdb42 (patch)
treec9fbfcd576e67106d5d0b13c52ed5938813c7b7c /app-misc/nnn
parentnet-vpn/openvpn: minor improvements (diff)
downloadgentoo-1aaf18848213241fa491b421d2742112ff4bdb42.tar.gz
gentoo-1aaf18848213241fa491b421d2742112ff4bdb42.tar.bz2
gentoo-1aaf18848213241fa491b421d2742112ff4bdb42.zip
app-misc/nnn: call xdg_desktop_database_update
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-misc/nnn')
-rw-r--r--app-misc/nnn/nnn-3.6.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/app-misc/nnn/nnn-3.6.ebuild b/app-misc/nnn/nnn-3.6.ebuild
index 90a0ed062b70..eb39936f75b4 100644
--- a/app-misc/nnn/nnn-3.6.ebuild
+++ b/app-misc/nnn/nnn-3.6.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit bash-completion-r1 toolchain-funcs
+inherit bash-completion-r1 toolchain-funcs xdg-utils
DESCRIPTION="The missing terminal file browser for X"
HOMEPAGE="https://github.com/jarun/nnn"
@@ -39,3 +39,11 @@ src_install() {
einstalldocs
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}