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

fix upgrade from older version

This commit is contained in:
yalh76 2019-02-02 23:44:24 +01:00
parent bb6814efa8
commit 1edbbff444

View file

@ -31,7 +31,7 @@ cache=$(ynh_app_setting_get "$app" cache)
size=$(ynh_app_setting_get "$app" size)
registration=$(ynh_app_setting_get "$app" registration)
if [$(ynh_app_setting_get "$app" psql_db)]
if [ -n $(ynh_app_setting_get "$app" psql_db) ]
then
db_name=$(ynh_app_setting_get "$app" psql_db)
db_pwd=$(ynh_app_setting_get "$app" psqlpwd)