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

Solve upgrade

This commit is contained in:
yalh76 2019-02-03 02:40:05 +01:00
parent e077ccc8d6
commit 4d9053288e
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
"name": "plume",
"name": "Plume",
"id": "plume",
"packaging_format": 1,
"description": {

View file

@ -28,7 +28,9 @@ secret_key=$(ynh_app_setting_get "$app" secret_key)
name=$(ynh_app_setting_get "$app" name)
port=$(ynh_app_setting_get "$app" port)
if [$(ynh_app_setting_get "$app" psql_db)]
psql_db=$(ynh_app_setting_get "$app" psql_db)
if [ -n "$psql_db" ]
then
db_name=$(ynh_app_setting_get "$app" psql_db)
db_pwd=$(ynh_app_setting_get "$app" psqlpwd)