mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] athene: copy in examples of files if not present
This makes the IDE work properly out of the box if the directory is empty or just doesn't have the .theia directory.
This commit is contained in:
@@ -16,6 +16,11 @@ set -e
|
|||||||
# DEV_MODE_PATH=/opt/odoo/addons
|
# DEV_MODE_PATH=/opt/odoo/addons
|
||||||
# To change the path to start Theia in, useful to get git working.
|
# 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" == "" ]
|
if [ "$DEV_MODE_PATH" == "" ]
|
||||||
then
|
then
|
||||||
export DEV_MODE_PATH=/opt/odoo/hibou-suite
|
export DEV_MODE_PATH=/opt/odoo/hibou-suite
|
||||||
|
|||||||
Reference in New Issue
Block a user