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:
parent
23b328182c
commit
784657c4a0
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue