Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
changeset 161:4149dbdf042f
Re #417: Improve WarFoundry installation experience
* Add handling for KDE and kdialog instead of Zenity
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 17 Jul 2012 20:46:44 +0100 |
parents | b926b1b0ed79 |
children | 354c1d2ad086 |
files | WarFoundry.sh |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/WarFoundry.sh Mon Jul 16 20:46:17 2012 +0100 +++ b/WarFoundry.sh Tue Jul 17 20:46:44 2012 +0100 @@ -5,6 +5,12 @@ command -v zenity >/dev/null 2>&1 if [[ $? == 0 ]]; then zenity --error --text="$1" + return + fi + + command -v kdialog >/dev/null 2>&1 + if [[ $? == 0 ]]; then + kdialog --error "$1" fi }