From 45e8243ab8fd91b2edb9f99bf443aadf38a8cc47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 15 Jan 2024 22:06:48 +0100 Subject: [PATCH] oops, restore script restores the mysql database twice --- scripts/restore | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/restore b/scripts/restore index d37b841..29e7bca 100755 --- a/scripts/restore +++ b/scripts/restore @@ -77,14 +77,6 @@ ynh_restore_file --origin_path="/etc/$app/" ### For other apps, the simple way is better: ynh_restore_file --origin_path="/var/log/$app/" - -#================================================= -# RESTORE THE MYSQL DATABASE -#================================================= -ynh_script_progression --message="Restoring the MySQL database..." --weight=1 - -ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql - #================================================= # GENERIC FINALIZATION #=================================================