From 419c5ab0fc2b718e6ee003e8e27ffaf0936bd84b Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Thu, 26 Oct 2017 11:47:55 +0200 Subject: [PATCH] Fix restoration --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index d1a7772..1e87551 100644 --- a/scripts/restore +++ b/scripts/restore @@ -80,7 +80,7 @@ ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini" # RESTORE THE MYSQL DATABASE #================================================= -dbpass=$(ynh_app_setting_get "$app" mysqlpwd) +db_pwd=$(ynh_app_setting_get "$app" mysqlpwd) ynh_mysql_setup_db "$db_name" "$db_name" "$db_pwd" ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < ./db.sql