mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
remove old settings
This commit is contained in:
parent
cae680cf44
commit
e077ccc8d6
1 changed files with 10 additions and 0 deletions
|
@ -28,6 +28,16 @@ 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)]
|
||||
then
|
||||
db_name=$(ynh_app_setting_get "$app" psql_db)
|
||||
db_pwd=$(ynh_app_setting_get "$app" psqlpwd)
|
||||
ynh_app_setting_set "$app" db_name "$db_name"
|
||||
ynh_app_setting_set "$app" db_pwd "$db_pwd"
|
||||
ynh_app_setting_delete "$app" psql_db
|
||||
ynh_app_setting_delete "$app" psqlpwd
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue