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

Fix upgrade after restoration

This commit is contained in:
Jean-Baptiste Holcroft 2019-04-04 11:33:20 +02:00
parent 23b328182c
commit 784657c4a0

View file

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