From 4dea9a2c75615e8ba5f175fa28bcb2772c43c17d Mon Sep 17 00:00:00 2001 From: gambas Date: Sun, 18 Oct 2020 00:53:15 +0200 Subject: [PATCH] Workaround a bug in 'xdg-desktop-menu' that triggers on Alpine systems. [CONFIGURATION] * BUG: Workaround a bug in 'xdg-desktop-menu' that triggers on Alpine systems. --- app/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Makefile.am b/app/Makefile.am index 238918e0c..52fe19396 100644 --- a/app/Makefile.am +++ b/app/Makefile.am @@ -30,7 +30,9 @@ install-exec-local: echo "Installing IDE application icon..."; \ xdg-icon-resource install --novendor --context apps --size 256 $(srcdir)/desktop/gambas3.png gambas3; \ echo "Installing IDE application menu..."; \ + $(INSTALL) -d $(DESTDIR)$(datarootdir)/desktop-directories; \ xdg-desktop-menu install --novendor $(srcdir)/desktop/gambas3.desktop; \ + rmdir --ignore-fail-on-non-empty $(DESTDIR)$(datarootdir)/desktop-directories; \ fi @echo "Installing the scripter..."