Commit 95c07ce9 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

[docker] always generate static datadir

/etc/cubicweb.d/intranet/data is never present at docker startup, so the test is useless.
parent d67efd7fc0a7
......@@ -20,9 +20,7 @@ check_upgrade() {
echo "upgrading instance"
cubicweb-ctl upgrade --nostartstop --backup-db=no --force --verbosity=0 $CW_INSTANCE
if ! test -d $CW_INSTANCES_DIR/$CW_INSTANCE/data; then
cubicweb-ctl gen-static-datadir $CW_INSTANCE
cubicweb-ctl gen-static-datadir $CW_INSTANCE
case "$1" in
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment