1
0
Fork 0
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:
Salamandar 2024-01-05 23:15:27 +01:00
parent c1fffc01bf
commit 48cd03a725

View file

@ -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"