mirror of
https://github.com/YunoHost-Apps/firefish_ynh.git
synced 2024-09-03 18:36:06 +02:00
Fix restore: it's postgresql not mysql
This commit is contained in:
parent
b7299084f6
commit
04c2e73d02
1 changed files with 3 additions and 3 deletions
|
@ -24,11 +24,11 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
|||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
# RESTORE THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the MySQL database..." --weight=1
|
||||
ynh_script_progression --message="Restoring the PostgreSQL database..." --weight=1
|
||||
|
||||
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./db.sql
|
||||
ynh_psql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./db.sql
|
||||
|
||||
#=================================================
|
||||
# REINSTALL PNPM
|
||||
|
|
Loading…
Add table
Reference in a new issue