FS#4024 - can't run ispconfig_update.sh to switch to dev
| | |
| | | #!/bin/bash |
| | | |
| | | cd /tmp |
| | | rm -rf ispconfig3-master* |
| | | wget -O ispconfig3-dev.tar.gz "http://git.ispconfig.org/ispconfig/ispconfig3/repository/archive.tar.gz?ref=master" |
| | | tar xzf ispconfig3-dev.tar.gz |
| | | cd ispconfig3.git/install |
| | | cd ispconfig3-master*/install |
| | | php -q \ |
| | | -d disable_classes= \ |
| | | -d disable_functions= \ |
| | | -d open_basedir= \ |
| | | update.php |
| | | cd /tmp |
| | | rm -rf /tmp/ispconfig3.git /tmp/ispconfig3-dev.tar.gz |
| | | rm -rf /tmp/ispconfig3-master* /tmp/ispconfig3-dev.tar.gz |
| | | |
| | | exit 0 |