From f0757b6cf4fd224ef7857507f75eb4edd488ae30 Mon Sep 17 00:00:00 2001 From: pascal Date: Sat, 1 Aug 2009 12:34:58 +0000 Subject: Funktioniert nun auch ohne X git-svn-id: https://svn.neo-layout.org@2020 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- Compose/compose_gui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") } -- cgit v1.2.3