[platform] fixes nasty typos in Unix startup script (IDEA-151688)

This commit is contained in:
Roman Shevchenko
2016-02-15 15:52:59 +01:00
parent 7418aca666
commit 47c62fac73
+4 -4
View File
@@ -8,13 +8,13 @@
message()
{
TITLE="Cannot start @@product_full@@"
if [ -n `which zenity` ]; then
if [ -n "`which zenity`" ]; then
zenity --error --title="$TITLE" --text="$1"
elif [ -n `which kdialog` ]; then
elif [ -n "`which kdialog`" ]; then
kdialog --error --title "$TITLE" "$1"
elif [ -n `which xmessage` ]; then
elif [ -n "`which xmessage`" ]; then
xmessage -center "ERROR: $TITLE: $1"
elif [ -n `which notify-send` ]; then
elif [ -n "`which notify-send`" ]; then
notify-send "ERROR: $TITLE: $1"
else
echo "ERROR: $TITLE\n$1"