mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Missing ynh_psql_test_if_first_run during upgrade
This commit is contained in:
parent
934affc3ae
commit
6377755b7c
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ fi
|
|||
if [ -z "$db_pwd" ]; then
|
||||
db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd) # Fix old db_pwd
|
||||
if [ -z "$db_pwd" ]; then
|
||||
ynh_psql_test_if_first_run
|
||||
db_name=$(ynh_sanitize_dbid --db_name="$app")
|
||||
db_user=$db_name
|
||||
# Initialize database and store postgres password for upgrade
|
||||
|
|
Loading…
Reference in a new issue