summaryrefslogtreecommitdiff
path: root/sys-boot
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/etcher/etcher-1.18.4-r1.ebuild (renamed from sys-boot/etcher/etcher-1.18.4.ebuild)11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys-boot/etcher/etcher-1.18.4.ebuild b/sys-boot/etcher/etcher-1.18.4-r1.ebuild
index 39b988d0..338618ae 100644
--- a/sys-boot/etcher/etcher-1.18.4.ebuild
+++ b/sys-boot/etcher/etcher-1.18.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=6
MY_PN="balenaEtcher"
-inherit eutils
+inherit eutils xdg-utils
DESCRIPTION="Flash OS images to SD cards & USB drives, safely and easily."
HOMEPAGE="https://etcher.io/"
@@ -37,3 +37,12 @@ src_install() {
newbin ${MY_PN}-${PV}-x64.AppImage ${MY_PN}
domenu ${FILESDIR}/${MY_PN}.desktop
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
+