From ffe8428a13a5ff6fcc77bd5dd26f1d17e981d33d Mon Sep 17 00:00:00 2001
From: cfoe <cfoe@ispconfig3>
Date: Sat, 07 Jul 2012 14:50:28 -0400
Subject: [PATCH] removed enclosing div from a.button and button elements

---
 server/scripts/update_from_tgz.sh |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/server/scripts/update_from_tgz.sh b/server/scripts/update_from_tgz.sh
index 424a390..09dddeb 100644
--- a/server/scripts/update_from_tgz.sh
+++ b/server/scripts/update_from_tgz.sh
@@ -8,8 +8,15 @@
 fi
 
 wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
-tar xvfz ISPConfig-3-stable.tar.gz
-cd ispconfig3_install/install/
-php -q update.php
-rm -rf /tmp/ispconfig3_install/install
-rm -f ISPConfig-3-stable.tar.gz
\ No newline at end of file
+if [ -f ISPConfig-3-stable.tar.gz ]
+then
+	tar xvfz ISPConfig-3-stable.tar.gz
+	cd ispconfig3_install/install/
+	php -q update.php
+	rm -rf /tmp/ispconfig3_install/install
+	rm -f ISPConfig-3-stable.tar.gz
+else
+	echo "Unable to download the update."
+fi
+
+exit 0
\ No newline at end of file

--
Gitblit v1.9.1