mirror of
https://gitlab.com/itsulu-odoo/runboat.git
synced 2026-05-30 23:41:27 +00:00
apt-get update before installing deb dependencies
This commit is contained in:
parent
6a3b026c87
commit
7a36a9f536
1 changed files with 8 additions and 1 deletions
|
|
@ -21,7 +21,14 @@ echo "addons_path=${ADDONS_PATH},${ADDONS_DIR}" >> ${ODOO_RC}
|
|||
cat ${ODOO_RC}
|
||||
|
||||
# Install 'deb' external dependencies of all Odoo addons found in path.
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends $(oca_list_external_dependencies deb)
|
||||
# This is also something oca_install_addons did, but that is not persisted
|
||||
# when we start in another container.
|
||||
deb_deps=$(oca_list_external_dependencies deb)
|
||||
if [ -n "$deb_deps" ]; then
|
||||
apt-get update -qq
|
||||
# Install 'deb' external dependencies of all Odoo addons found in path.
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends ${deb_deps}
|
||||
fi
|
||||
|
||||
oca_wait_for_postgres
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue