瀏覽代碼

Don't install hubzilla on onion-only systems

Bob Mottram 9 年之前
父節點
當前提交
7e50e6e793
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone 查看文件

8992
     if [ ! $HUBZILLA_DOMAIN_NAME ]; then
8992
     if [ ! $HUBZILLA_DOMAIN_NAME ]; then
8993
         return
8993
         return
8994
     fi
8994
     fi
8995
+    # Don't install on onion-only systems
8996
+    if [[ $ONION_ONLY != 'no' ]]; then
8997
+        return
8998
+    fi
8995
 
8999
 
8996
     # update to a new commit if needed
9000
     # update to a new commit if needed
8997
     set_repo_commit /var/www/$HUBZILLA_DOMAIN_NAME/htdocs "Hubzilla commit" "$HUBZILLA_COMMIT" $HUBZILLA_REPO
9001
     set_repo_commit /var/www/$HUBZILLA_DOMAIN_NAME/htdocs "Hubzilla commit" "$HUBZILLA_COMMIT" $HUBZILLA_REPO