Hackfix GNU Health template1 database lock

This commit is contained in:
Disassembler 2018-02-06 10:26:56 +01:00
parent 0a152eb534
commit 91e998a24a
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -39,6 +39,8 @@ RUN \
# Install GNU Health
&& cd /srv/gnuhealth \
&& sudo -u gnuhealth ./gnuhealth-setup install \
# Hackfix template1 database lock
&& sed -i 's/template1/gnuhealth/g' /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.9/trytond/backend/postgresql/database.py \
# Install Sao (Tryton web client) dependencies
&& cd /srv/gnuhealth/sao \
&& sudo -u gnuhealth npm install grunt grunt-cli grunt-contrib-concat grunt-contrib-jshint grunt-contrib-uglify grunt-contrib-less grunt-po2json \