Clear mirrored news

merge-requests/8/head
Bob Mottram 2020-10-19 22:23:18 +01:00
parent 3e08f63cdb
commit 3d629a1287
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@
rm accounts/news@*/outbox/*
rm accounts/news@*/postcache/*
rm accounts/news@*/outbox.index
if [ -d accounts/newsmirror ]; then
rm -rf accounts/newsmirror
fi
if [ -f accounts/.newswirestate.json ]; then
rm accounts/.newswirestate.json
fi