summaryrefslogtreecommitdiffstats
path: root/Compose
diff options
context:
space:
mode:
authorpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-08-01 12:34:58 +0000
committerpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-08-01 12:34:58 +0000
commitf0757b6cf4fd224ef7857507f75eb4edd488ae30 (patch)
tree3f59da6ae236934693a5b1299cbf7a6628c8cc63 /Compose
parent732efa6ff249dd6cc9e9f7b4140ec8422c48979a (diff)
Funktioniert nun auch ohne X
git-svn-id: https://svn.neo-layout.org@2020 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'Compose')
-rwxr-xr-xCompose/compose_gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Compose/compose_gui.sh b/Compose/compose_gui.sh
index 14f773c..6f544ec 100755
--- a/Compose/compose_gui.sh
+++ b/Compose/compose_gui.sh
@@ -24,7 +24,7 @@ then
YESNO() {
kdialog --title Compose-Module --yesno "$1"
}
-elif [ -n "`which zenity 2>/dev/null`" ]; then
+elif [ -n "`which zenity 2>/dev/null`" ] && [ ${DISPLAY} ]; then
ADD_TO_LIST() {
list=("${list[@]}" "$1" "$2")
}