1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Fix backward compatibilty for db_name

This commit is contained in:
Alexandre Aubin 2021-01-31 11:30:25 +01:00 committed by GitHub
parent 84b90878c0
commit 1a0e23b8a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,11 @@ if [ -z "$version" ]; then
ynh_app_setting_set --app=$app --key=version --value=$version
fi
if [ -z "$db_name" ]; then
db_name="$app"
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
fi
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================