From a5e6bd2132eaaa8a686e716ee1e5e92e97e8db0d Mon Sep 17 00:00:00 2001 From: farvardin Date: Thu, 23 Apr 2020 00:15:49 +0200 Subject: [PATCH] update --- scripts/upgrade | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4b51c4f..21dc7c2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,11 +50,12 @@ elif [ "$is_public" = "No" ]; then is_public=0 fi +# don't use DB! # If db_name doesn't exist, create it -if [ -z "$db_name" ]; then - db_name=$(ynh_sanitize_dbid --db_name=$app) - ynh_app_setting_set --app=$app --key=db_name --value=$db_name -fi +#if [ -z "$db_name" ]; then +# db_name=$(ynh_sanitize_dbid --db_name=$app) +# ynh_app_setting_set --app=$app --key=db_name --value=$db_name +#fi # If final_path doesn't exist, create it if [ -z "$final_path" ]; then