oops, restore script restores the mysql database twice

This commit is contained in:
Félix Piédallu 2024-01-15 22:06:48 +01:00
parent baab7fbd76
commit 45e8243ab8

View file

@ -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
#=================================================