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