mirror of
https://github.com/YunoHost-Apps/digiscreen_ynh.git
synced 2024-09-03 18:26:15 +02:00
fix upgrade again...
This commit is contained in:
parent
4058567665
commit
f32cf17371
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
googleYoutube="$(ynh_app_setting_get --app="$app" --key=googleYoutube)"
|
||||
if [[ -n "${googleYoutube:-}" ]]; then
|
||||
# migrate camelCase to snake_case
|
||||
apikey_google_youtube="$googleYoutube"
|
||||
|
@ -29,6 +30,7 @@ if [[ -n "${googleYoutube:-}" ]]; then
|
|||
ynh_app_setting_delete --app="$app" --key="googleYoutube"
|
||||
fi
|
||||
|
||||
pixabay="$(ynh_app_setting_get --app="$app" --key=pixabay)"
|
||||
if [[ -n "${pixabay:-}" ]]; then
|
||||
# migrate camelCase to snake_case
|
||||
apikey_pixabay="$pixabay"
|
||||
|
|
Loading…
Add table
Reference in a new issue