Merge pull request #227 from Salamandar/duplicate_mysql
oops, restore script restores the mysql database twice
This commit is contained in:
commit
261e458c90
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue