mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
fix upgrade missing key
This commit is contained in:
parent
c1fffc01bf
commit
48cd03a725
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@ done
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# Missing settings ?
|
||||
if [ -z "${public_key+x}" ]; then
|
||||
public_key=""
|
||||
ynh_app_setting_set --app="$app" --key=public_key --value="$public_key"
|
||||
fi
|
||||
|
||||
if [[ -n "${document_path:-}" ]]; then
|
||||
# Renamed setting key
|
||||
document_dir="$document_path"
|
||||
|
|
Loading…
Add table
Reference in a new issue