mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
adding comment
This commit is contained in:
parent
2cb1f89566
commit
a4241929b6
1 changed files with 2 additions and 0 deletions
|
@ -313,6 +313,8 @@ then
|
||||||
instance_inject_mastodon_version="false"
|
instance_inject_mastodon_version="false"
|
||||||
# update default config
|
# update default config
|
||||||
if [ "$media_remote_cache_days" == "30" ]; then
|
if [ "$media_remote_cache_days" == "30" ]; then
|
||||||
|
# "30" is the old default value, "7" the new one
|
||||||
|
# updating to the new default only if the old default value is used (to not overwrite an user modified value)
|
||||||
media_remote_cache_days="7"
|
media_remote_cache_days="7"
|
||||||
ynh_app_setting_set --app="$app" --key=media_remote_cache_days --value="$media_remote_cache_days"
|
ynh_app_setting_set --app="$app" --key=media_remote_cache_days --value="$media_remote_cache_days"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue