Browse Source

Remove gnusocial from cron

Bob Mottram 8 years ago
parent
commit
3996f6f35b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-app-gnusocial

+ 2
- 2
src/freedombone-app-gnusocial View File

363
     remove_onion_service microblog ${MICROBLOG_ONION_PORT}
363
     remove_onion_service microblog ${MICROBLOG_ONION_PORT}
364
     sed -i '/install_gnusocial/d' $COMPLETION_FILE
364
     sed -i '/install_gnusocial/d' $COMPLETION_FILE
365
     sed -i '/GNU Social /d' $COMPLETION_FILE
365
     sed -i '/GNU Social /d' $COMPLETION_FILE
366
-    if grep -q "$gnusocial_expire_script" /etc/crontab; then
367
-        sed -i "/$gnusocial_expire_script/d" /etc/crontab
366
+    if grep -q "gnusocial" /etc/crontab; then
367
+        sed -i "/gnusocial/d" /etc/crontab
368
     fi
368
     fi
369
     remove_app gnusocial
369
     remove_app gnusocial
370
 }
370
 }