summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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