1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2022-08-28 13:32:45 +02:00
parent 1a14e0bcdb
commit 5de029a40f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -65,8 +65,6 @@ 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