Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
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