1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galette_ynh.git synced 2024-09-03 18:36:28 +02:00

Fix missing database variable

This commit is contained in:
yalh76 2022-06-20 19:55:57 +02:00
parent c4c38fe3de
commit 311444ff04

View file

@ -72,6 +72,12 @@ if [ -z "$final_path" ]; then
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
fi
# If database doesn't exist, create it
if [ -z "$database" ]; then
database="pgsql"
ynh_app_setting_set --app=$app --key=database --value=$database
fi
# Cleaning legacy permissions
if ynh_legacy_permissions_exists; then
ynh_legacy_permissions_delete_all