This commit is contained in:
Bob Mottram 2018-01-20 22:23:37 +00:00
parent 4044e18f22
commit 9275a6ab84
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ function expire_pleroma_posts {
echo '#!/bin/bash' > $pleroma_expire_posts_script echo '#!/bin/bash' > $pleroma_expire_posts_script
echo "plmonths=\"$PLEROMA_EXPIRE_MONTHS\"" >> $pleroma_expire_posts_script echo "plmonths=\"$PLEROMA_EXPIRE_MONTHS\"" >> $pleroma_expire_posts_script
echo 'if [ ! ${#plmonths} -eq 0 ]; then' >> $pleroma_expire_posts_script echo 'if [ ${#plmonths} -eq 0 ]; then' >> $pleroma_expire_posts_script
echo ' exit 1' >> $pleroma_expire_posts_script echo ' exit 1' >> $pleroma_expire_posts_script
echo 'fi' >> $pleroma_expire_posts_script echo 'fi' >> $pleroma_expire_posts_script
echo 'if [[ "$plmonths" == "0" ]]; then' >> $pleroma_expire_posts_script echo 'if [[ "$plmonths" == "0" ]]; then' >> $pleroma_expire_posts_script