Remove gnusocial from cron

This commit is contained in:
Bob Mottram 2016-10-01 13:14:39 +01:00
parent 03faa13ade
commit 3996f6f35b
1 changed files with 2 additions and 2 deletions

View File

@ -363,8 +363,8 @@ function remove_gnusocial {
remove_onion_service microblog ${MICROBLOG_ONION_PORT}
sed -i '/install_gnusocial/d' $COMPLETION_FILE
sed -i '/GNU Social /d' $COMPLETION_FILE
if grep -q "$gnusocial_expire_script" /etc/crontab; then
sed -i "/$gnusocial_expire_script/d" /etc/crontab
if grep -q "gnusocial" /etc/crontab; then
sed -i "/gnusocial/d" /etc/crontab
fi
remove_app gnusocial
}