1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

fix restore

This commit is contained in:
yalh76 2019-05-18 19:35:55 +02:00
parent f5f4055224
commit 5eea1790dd

View file

@ -100,7 +100,7 @@ ynh_install_app_dependencies "$pkg_dependencies"
ynh_print_info --message="Restoring the PostgreSQL database..."
ynh_psql_test_if_first_run
ynh_psql_setup_db --db_user"$db_user" --db_name="$db_name" --db_pwd="$db_pwd"
ynh_psql_setup_db --db_user="$db_user" --db_name="$db_name" --db_pwd="$db_pwd"
ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name"
#=================================================