瀏覽代碼

Remove gnusocial from cron

Bob Mottram 8 年之前
父節點
當前提交
3996f6f35b
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/freedombone-app-gnusocial

+ 2
- 2
src/freedombone-app-gnusocial 查看文件

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
 }