From 3996f6f35b3e87b2d2b6d7e824188805501fe1a9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 1 Oct 2016 13:14:39 +0100 Subject: [PATCH] Remove gnusocial from cron --- src/freedombone-app-gnusocial | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index 0104316e..8635a636 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -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 }