From 180ac1303deb7d99dfcbe771047dc251e8f961bc Mon Sep 17 00:00:00 2001 From: Nicolas Simond Date: Sun, 8 Jun 2014 14:08:07 +0200 Subject: [PATCH] Create update-isp-config.sh auto-update for ispconfig 3 --- update-isp-config.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 update-isp-config.sh diff --git a/update-isp-config.sh b/update-isp-config.sh new file mode 100644 index 0000000..ae9231c --- /dev/null +++ b/update-isp-config.sh @@ -0,0 +1,24 @@ +#!/bin/bash +#By Nicolas Simond -> http://www.nicolas-simond.com/ +#The Abyss Project -> http://www.abyssproject.net/ +#Compatiblity : Debian 6 + | Ubuntu 12.x + | Debian based distro +#Use at your own risk ! +# in root terminal : wget -O- https://raw.githubusercontent.com/stylersnico/debian-scripts/master/update-isp-config.sh | sh +#Tested on debian 7.5 AMD64 + +if [ "$(id -u)" != "0" ]; then + echo "This script must be run as root" 1>&2 + exit 1 +fi +clear +echo ":: Download the latest ispconfig 3 release ..." +sleep 3 +cd /tmp + wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz + tar xfz ISPConfig-3-stable.tar.gz + cd ispconfig3_install/install/ +sleep 3 +clear +echo ":: Launch the update utility" +sleep 5 +php -q update.php