summaryrefslogtreecommitdiffstats
path: root/adei/scripts/adei-branch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'adei/scripts/adei-branch.sh')
-rwxr-xr-xadei/scripts/adei-branch.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/adei/scripts/adei-branch.sh b/adei/scripts/adei-branch.sh
index f22cad3..b120f4a 100755
--- a/adei/scripts/adei-branch.sh
+++ b/adei/scripts/adei-branch.sh
@@ -23,6 +23,11 @@ fi
flock -x 10
flock -x 11
+
+ if [ ! -f /adei/cfg/config.actual.php ]; then
+ cp -a /opt/configs/config.*.php /adei/cfg/
+ fi
+
if [ ! -f /adei/src/VERSION ]; then
bzr branch -r $ADEI_REVISION --use-existing-dir http://darksoft.org/bzr/adei/trunk/ /adei/src
(
@@ -37,11 +42,6 @@ fi
# but can be easily added in future. We cache all non-excluded setups. The .exclude
# file is removed afterwards from all
- if [ ! -f /adei/cfg/config.actual.php ]; then
-
- cp -a /opt/configs/config.*.php /adei/cfg/
- fi
-
ln -s ../cfg/config.actual.php config.actual.php
ln -s ../cfg/config.override.php config.override.php
)