1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

fix db_name inexistant

This commit is contained in:
Maniack Crudelis 2017-09-22 22:39:17 +02:00 committed by GitHub
parent 6e3c79a365
commit 6fa823fa03

View file

@ -29,6 +29,11 @@ if [ -z $final_path ]; then # If final_path doesn't exist, create it
ynh_app_setting_set $app final_path $final_path ynh_app_setting_set $app final_path $final_path
fi fi
if [ -z $db_name ]; then # If db_name doesn't exist, create it
db_name=$(ynh_sanitize_dbid $app)
ynh_app_setting_set $app db_name $db_name
fi
#================================================= #=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#================================================= #=================================================