1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00

fix restore error

This commit is contained in:
Yalh 2019-01-24 06:14:50 +01:00
parent c9ac51900e
commit 58c0b6e96c

View file

@ -60,6 +60,7 @@ ynh_restore_file "$final_path"
# RESTORE THE POSTGRESQL DATABASE # RESTORE THE POSTGRESQL DATABASE
#================================================= #=================================================
ynh_install_app_dependencies postgresql postgresql-contrib
ynh_psql_test_if_first_run ynh_psql_test_if_first_run
ynh_psql_create_user "$app" "$db_pwd" ynh_psql_create_user "$app" "$db_pwd"
ynh_psql_execute_as_root \ ynh_psql_execute_as_root \