From 540b57be806c2654a982239004912a9bbe2d305f Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Wed, 19 Jan 2022 11:31:16 -0800 Subject: [PATCH] Athene copy launch from hibou-suite --- entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 74ca0bc0..5267e384 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,10 +12,15 @@ set -e # Note that with Odoo running in the foreground, killing Odoo will kill the container. # DEV_MODE= # Unset to not use Theia at all. -# +# # 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