Skip to content

Conversation

@rousseldenis
Copy link

No description provided.

oca_wait_for_postgres

if [ -n "${SERVER_WIDE_MODULES}"]; then
WIDE_MODULES=${SERVER_WIDE_MODULES}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if we should enhance this to ensure web and base are in the list and concatenate them or to make that in copier

$(which odoo || which openerp-server) \
-d ${PGDATABASE} \
-i ${ADDONS} \
--load=${WIDE_MODULES}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can simplify it by specifying a default to the env var.

Suggested change
--load=${WIDE_MODULES}
--load=${SERVER_WIDE_MODULES:-web,base}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants