8
if [ ! -d /adei/src -o ! -d /adei/tmp -o ! -d /adei/sys -o ! -d /adei/cfg ]; then
9
echo "Incorrect volume configration, we expect /adei folder with populated docker volumes"
14
if [ ! -f /adei/src/VERSION ]; then
15
bzr branch -r $ADEI_REVISION --use-existing-dir http://darksoft.org/bzr/adei/trunk/ /adei/src
24
# Additional setups are clonned based on the environment for adei container creation
25
# but can be easily added in future. We cache all non-excluded setups. The .exclude
26
# file is removed afterwards from all
28
if [ ! -f /adei/cfg/config.actual.php ]; then
30
cp -a /opt/configs/config.*.php /adei/cfg/
33
ln -s ../cfg/config.actual.php config.actual.php
34
ln -s ../cfg/config.override.php config.override.php
40
for setup in $ADEI_ENABLED_SETUPS $ADEI_SETUP; do
41
if [[ ! -a setups/$setup ]]; then
42
if [[ ! -a /adei/cfg/$setup ]]; then
45
branch "http://darksoft.org/bzr/adei/setups/$setup"
48
ln -s ../../cfg/$setup setups/$setup