Marius Cramer
2015-05-21 f3cc2c3985d20b9d7c75998ad100cacf5cad5789
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
 
cd /tmp
 
if [ -f ISPConfig-3-stable.tar.gz ]
then
rm -f ISPConfig-3-stable.tar.gz
fi
 
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
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