From 9d5034b54752b3f99211841c3cbf284a85bfe25e Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 8 Nov 2004 03:04:48 +0000 Subject: [PATCH] Fix a bad conditional. --- en/gnome/gnome_upgrade.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/gnome/gnome_upgrade.sh b/en/gnome/gnome_upgrade.sh index 6d0dcefa97..3ac53748a3 100644 --- a/en/gnome/gnome_upgrade.sh +++ b/en/gnome/gnome_upgrade.sh @@ -34,7 +34,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: gnome_upgrade.sh,v 1.10 2004-11-07 22:38:53 adamw Exp $ +# $Id: gnome_upgrade.sh,v 1.11 2004-11-08 03:04:48 marcus Exp $ # # This script will aid in doing major upgrades to the GNOME Desktop (e.g. @@ -200,7 +200,7 @@ if [ ${VERBOSE} != 0 ]; then fi restart=0 -if [ $1 = "-restart" ]; then +if [ "$1" = "-restart" ]; then restart=1 fi @@ -216,8 +216,8 @@ echo echo "If necessary, hit Control-C now, drop to a terminal, and restart the upgrade." | /usr/bin/fmt 75 79 echo # $i is a good clobberable variable name -read -p "Hit to continue with the upgrade: " i -echo +#read -p "Hit to continue with the upgrade: " i +#echo logfile=`get_tmpfile gnome_upgrade_log` if [ $? != 0 ]; then