Add pleroma filtering config during upgrades
This commit is contained in:
parent
7f4f4f2c84
commit
b535fb9b97
|
@ -772,6 +772,8 @@ function upgrade_pleroma {
|
||||||
read_config_param PLEROMA_DOMAIN_NAME
|
read_config_param PLEROMA_DOMAIN_NAME
|
||||||
read_config_param PLEROMA_EXPIRE_MONTHS
|
read_config_param PLEROMA_EXPIRE_MONTHS
|
||||||
|
|
||||||
|
pleroma_add_filtering
|
||||||
|
|
||||||
if ! grep -q "/media/" /etc/cron.daily/pleroma-expire; then
|
if ! grep -q "/media/" /etc/cron.daily/pleroma-expire; then
|
||||||
rm $pleroma_expire_posts_script
|
rm $pleroma_expire_posts_script
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue