summaryrefslogtreecommitdiff
path: root/Compose
diff options
context:
space:
mode:
Diffstat (limited to 'Compose')
-rwxr-xr-xCompose/compose_gui.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/Compose/compose_gui.sh b/Compose/compose_gui.sh
index 6f544ec..e114fea 100755
--- a/Compose/compose_gui.sh
+++ b/Compose/compose_gui.sh
@@ -10,6 +10,13 @@ SRC=./src # Source directory
CONFFILE=.config
+# colours in the Bash
+normal="\033[0m"
+red="\033[31m"
+orange="\033[33m"
+green="\033[32m"
+
+
if [ "X:$KDE_FULL_SESSION" = "X:true" ]
then
ADD_TO_LIST() {
@@ -51,8 +58,9 @@ elif [ -n "`which dialog 2>/dev/null`" ]; then
dialog --title Compose-Module --yesno "$1" 14 70
}
else
- echo "Es wurde weder kdialog noch zenity noch dialog gefunden."
- echo "Dieses Programm kann darum nicht benutzt werden. Verwenden Sie stattdessen ›make config‹."
+ echo -e ${red} "Es wurde weder kdialog noch zenity noch dialog gefunden." ${normal}
+ echo -e ${red} "Die graphische Konfiguration kann nicht verwendet werden." ${normal}
+ echo -e ${red} "Bitte benutzen Sie stattdessen ›make config && make install‹." ${normal}
exit 1
fi