Marius Cramer
2015-08-06 37b29231e47a0c4458dc1c15d98588f16f07e1e2
commit | author | age
66768a 1 #!/bin/bash
T 2
3 cd /tmp
93f3e1 4
T 5 if [ -f ISPConfig-3-stable.tar.gz ]
6 then
7 rm -f ISPConfig-3-stable.tar.gz
8 fi
9
66768a 10 wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
f99160 11 if [ -f ISPConfig-3-stable.tar.gz ]
T 12 then
13     tar xvfz ISPConfig-3-stable.tar.gz
14     cd ispconfig3_install/install/
4bc030 15     php -q \
MK 16     -d disable_classes= \
17     -d disable_functions= \
18     -d open_basedir= \
19     update.php
f99160 20     rm -rf /tmp/ispconfig3_install/install
T 21     rm -f ISPConfig-3-stable.tar.gz
22 else
23     echo "Unable to download the update."
24 fi
25
26 exit 0