mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix postgresql restore script
This commit is contained in:
parent
4e3f28968c
commit
816d7d6e35
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ fi
|
||||||
db_pwd=$(ynh_app_setting_get "$app" db_pwd)
|
db_pwd=$(ynh_app_setting_get "$app" db_pwd)
|
||||||
|
|
||||||
ynh_psql_test_if_first_run
|
ynh_psql_test_if_first_run
|
||||||
ynh_psql_setup_db "$db_name" "$db_name" "$db_pwd"
|
ynh_psql_setup_db "$db_user" "$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…
Reference in a new issue