Browse Source

Fix syntax error in progressbar.sh

Fixes issue 3624

Change-Id: I7fbc5c61131af95998a1617ad1c83a231c556526
Reviewed-on: http://gerrit.dmdirc.com/665
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
Automatic-Compile: Gregory Holmes <greg@dmdirc.com>
Reviewed-by: Gregory Holmes <greg@dmdirc.com>
tags/0.6.3b1
Chris Smith 14 years ago
parent
commit
b0b916067f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      installer/linux/progressbar.sh

+ 2
- 2
installer/linux/progressbar.sh View File

@@ -300,7 +300,7 @@ if [ "" != "${KDIALOG}" -a "" != "${DISPLAY}" -a "" = "${ISGNOME}" -a "${USEKDIA
300 300
 	readprogress
301 301
 	CONTINUE="0"
302 302
 	echo "Progress Bar Complete"
303
-elif [ "" ! "${ZENITY}" -a "" != "${DISPLAY}" ]; then
303
+elif [ "" != "${ZENITY}" -a "" != "${DISPLAY}" ]; then
304 304
 	# Else, if zenity exists and we have a display
305 305
 	echo "Progress dialog on Display: ${DISPLAY}"
306 306
 	TYPE="GNOME"
@@ -321,4 +321,4 @@ else
321 321
 	echo "Finished!"
322 322
 fi
323 323
 echo "Exiting progressbar"
324
-exit 0;
324
+exit 0;

Loading…
Cancel
Save