浏览代码

Disable hubzilla install for onion only

Bob Mottram 9 年前
父节点
当前提交
4ac4f49dc3
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone 查看文件

8042
     if [ ! $HUBZILLA_DOMAIN_NAME ]; then
8042
     if [ ! $HUBZILLA_DOMAIN_NAME ]; then
8043
         return
8043
         return
8044
     fi
8044
     fi
8045
+    # For now it probably won't install as onion-only. This might change in future
8046
+    if [[ $ONION_ONLY != "no" ]]; then
8047
+        return
8048
+    fi
8045
 
8049
 
8046
     # update to the next commit
8050
     # update to the next commit
8047
     if [ -d /var/www/$HUBZILLA_DOMAIN_NAME/htdocs ]; then
8051
     if [ -d /var/www/$HUBZILLA_DOMAIN_NAME/htdocs ]; then