summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2024-08-23 17:05:08 +0200
committerSam James <sam@gentoo.org>2024-08-26 23:54:24 +0100
commit80dcefb50475d15a43b65dca0324807d3d10b97a (patch)
tree6ce8c07f8853d419d63a36a76f5a5d02a680126f /x11-misc
parentx11-misc/appmenu-gtk-module: add 24.05 (diff)
downloadgentoo-80dcefb50475d15a43b65dca0324807d3d10b97a.tar.gz
gentoo-80dcefb50475d15a43b65dca0324807d3d10b97a.tar.bz2
gentoo-80dcefb50475d15a43b65dca0324807d3d10b97a.zip
x11-misc/appmenu-gtk-module: eliminate bashisms in appmenu-gtk-module
Closes: https://bugs.gentoo.org/884891 Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-r18
1 files changed, 2 insertions, 6 deletions
diff --git a/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-r1 b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-r1
index e6520aabcd6f..603e01e81b41 100644
--- a/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-r1
+++ b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-r1
@@ -1,10 +1,6 @@
-if [[ -n "$GTK_MODULES" ]]; then
- GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module"
-else
- GTK_MODULES="appmenu-gtk-module"
-fi
+GTK_MODULES=${GTK_MODULES}${GTK_MODULES:+:}appmenu-gtk-module
-if [[ -z "$UBUNTU_MENUPROXY" ]]; then
+if [ -z "$UBUNTU_MENUPROXY" ]; then
UBUNTU_MENUPROXY=1
fi