1
0
Fork 0
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:
OniriCorpe 2023-08-15 20:32:46 +02:00
parent 2cb1f89566
commit a4241929b6

View file

@ -313,6 +313,8 @@ then
instance_inject_mastodon_version="false"
# update default config
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"
ynh_app_setting_set --app="$app" --key=media_remote_cache_days --value="$media_remote_cache_days"
fi