From 1a14e0bcdb272d030ddacb27817ceb8909bbe8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 28 Aug 2022 13:32:07 +0200 Subject: [PATCH] Update restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index e554ba8..9c33a55 100644 --- a/scripts/restore +++ b/scripts/restore @@ -65,6 +65,8 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" if [ $with_mysql -eq 1 ]; then ynh_script_progression --message="Restoring the MySQL database..." + + ynh_install_app_dependencies "php${phpversion}-mysql" db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) ynh_mysql_setup_db --db_user=$db_name --db_name=$db_name --db_pwd=$db_pwd