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:
parent
e077ccc8d6
commit
4d9053288e
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "plume",
|
"name": "Plume",
|
||||||
"id": "plume",
|
"id": "plume",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
|
|
|
@ -28,7 +28,9 @@ secret_key=$(ynh_app_setting_get "$app" secret_key)
|
||||||
name=$(ynh_app_setting_get "$app" name)
|
name=$(ynh_app_setting_get "$app" name)
|
||||||
port=$(ynh_app_setting_get "$app" port)
|
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
|
then
|
||||||
db_name=$(ynh_app_setting_get "$app" psql_db)
|
db_name=$(ynh_app_setting_get "$app" psql_db)
|
||||||
db_pwd=$(ynh_app_setting_get "$app" psqlpwd)
|
db_pwd=$(ynh_app_setting_get "$app" psqlpwd)
|
||||||
|
|
Loading…
Add table
Reference in a new issue