mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Merge pull request #209 from YunoHost-Apps/alexAubin-patch-1
Fix backward compatibilty for db_name
This commit is contained in:
commit
cfa71dd661
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue