mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
Fix upgrade
This commit is contained in:
parent
868d262219
commit
2dd3b7da8f
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ if [ $need_migration_from_sqlite_to_psql -eq 1 ]; then
|
|||
db_user=$db_name
|
||||
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
||||
# Initialize database and store postgres password for upgrade
|
||||
ynh_psql_setup_db --db_user=user --db_name=name
|
||||
ynh_psql_setup_db --db_user=$db_user --db_name=$db_name
|
||||
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd) # Password created in ynh_psql_setup_db function
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue