mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Fix upgrade from previous version
This commit is contained in:
parent
d9d91ed862
commit
b701c5286b
1 changed files with 5 additions and 1 deletions
|
@ -31,7 +31,11 @@ cache=$(ynh_app_setting_get "$app" cache)
|
|||
size=$(ynh_app_setting_get "$app" size)
|
||||
registration=$(ynh_app_setting_get "$app" registration)
|
||||
|
||||
if [ -z $(ynh_app_setting_get "$app" psql_db) ]
|
||||
|
||||
psql_db=$(ynh_app_setting_get "$app" psql_db)
|
||||
psqlpwd=$(ynh_app_setting_get "$app" psqlpwd)
|
||||
|
||||
if [ -z "$psql_db" ]
|
||||
then
|
||||
db_name=$(ynh_app_setting_get "$app" psql_db)
|
||||
db_pwd=$(ynh_app_setting_get "$app" psqlpwd)
|
||||
|
|
Loading…
Add table
Reference in a new issue