mirror of
https://github.com/YunoHost-Apps/diacamma_ynh.git
synced 2024-09-03 18:26:10 +02:00
correct for root path
This commit is contained in:
parent
609f84dad0
commit
c3b9704252
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ venv/bin/pip3 install -U gunicorn psycopg2-binary psycopg2 django-auth-ldap3-ad
|
|||
sed -i 's|member=%s|inheritPermission=%s|g' venv/lib/python*/site-packages/django_auth_ldap3_ad/auth.py
|
||||
venv/bin/lucterios_admin.py installed
|
||||
ynh_add_config --template="../conf/extra_diacamma.json" --destination="/tmp/extra.json"
|
||||
if [ "$path" == "/" ]
|
||||
then
|
||||
sed -i "/USE_X_FORWARDED_HOST/d" /tmp/extra.json
|
||||
sed -i "/FORCE_SCRIPT_NAME/d" /tmp/extra.json
|
||||
fi
|
||||
extra_json=$(jq -c . /tmp/extra.json)
|
||||
venv/bin/lucterios_admin.py add -n inst-${app} -p "${APPLITYPE}" -m "${MODULES}" -d "${DATABASE}" -e ''$extra_json''
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue