Florian Schaal
2014-06-12 56ae2538dde73a415909cc6f398f86489a722006
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