[FIX] debian package dependencies not available
the Debian package dependencies where only installed during the initialization phase, not the deployement -> install them at that point. closes: #23
This commit is contained in:
parent
b592ecb327
commit
597f6b0eb8
1 changed files with 3 additions and 3 deletions
|
|
@ -5,12 +5,12 @@ set -ex
|
|||
|
||||
# If it exists, copy the previously initialized venv.
|
||||
if [ -f /mnt/data/initialized ] ; then
|
||||
#rsync -a --delete /mnt/data/odoo-venv/ /opt/odoo-venv
|
||||
pip list
|
||||
# issue#23: install debian package dependencies (hack oca_install_addons to only
|
||||
# install deb)
|
||||
# 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)
|
||||
exit 0
|
||||
fi
|
||||
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -yqq install rsync
|
||||
|
||||
# Remove addons dir, in case we are reinitializing after a previously
|
||||
|
|
|
|||
Loading…
Reference in a new issue