Bläddra i källkod

Remove gnusocial from cron

Bob Mottram 8 år sedan
förälder
incheckning
3996f6f35b
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      src/freedombone-app-gnusocial

+ 2
- 2
src/freedombone-app-gnusocial Visa fil

@@ -363,8 +363,8 @@ function remove_gnusocial {
363 363
     remove_onion_service microblog ${MICROBLOG_ONION_PORT}
364 364
     sed -i '/install_gnusocial/d' $COMPLETION_FILE
365 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 368
     fi
369 369
     remove_app gnusocial
370 370
 }