Kaynağa Gözat

Don't install hubzilla on onion-only systems

Bob Mottram 9 yıl önce
ebeveyn
işleme
7e50e6e793
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone Dosyayı Görüntüle

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