diff --git a/entrypoint.sh b/entrypoint.sh index cf07e6a1..5267e384 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -16,6 +16,11 @@ set -e # DEV_MODE_PATH=/opt/odoo/addons # To change the path to start Theia in, useful to get git working. +if [ "$DEV_MODE_PATH" != "" ] && [ -z "$(ls -A $DEV_MODE_PATH/.theia)" ] +then + cp -R /opt/odoo/hibou-suite/.theia $DEV_MODE_PATH +fi + if [ "$DEV_MODE_PATH" == "" ] then export DEV_MODE_PATH=/opt/odoo/hibou-suite