Просмотр исходного кода

Remove trove user if it exists

Bob Mottram 9 лет назад
Родитель
Сommit
7a19f6dfa6
3 измененных файлов: 5 добавлений и 1 удалений
  1. 2
    0
      doc/EN/faq.org
  2. 3
    0
      src/freedombone
  3. 0
    1
      src/freedombone-mirrors

+ 2
- 0
doc/EN/faq.org Просмотреть файл

@@ -54,6 +54,8 @@ Github is paradoxically a centralized, closed and proprietary system which happe
54 54
 At present Github is useful just because of the sheer number of eyeballs and the easy discoverability of projects via search.
55 55
 
56 56
 The source code for this project is experimentally independently hosted, and it is expected that in future the main development will shift over to an independent site, maybe with mirrors on Github if it still exists in a viable form.
57
+
58
+Currently many of the repositories used for applications which are not yet packaged for Debian are on Github, and to provide some degree of resilliance against depending too much upon that it's possible to use [[./mirrors.html][mirrors stored on another server]].
57 59
 * Why can't I access my .onion site with a Tor browser?
58 60
 By default the Tor browser has [[https://www.eff.org/HTTPS-everywhere][https everywhere]] enabled and this can clash with onion addresses. Really this is a browser bug, which ought to be fixed. If you notice that "https" has been automatically prepended to your onion address then go to the https everywhere settings and disable it. https isn't needed for ontion sites since onion services already have their own public key encryption (the onion address is the public key).
59 61
 * What is the best hardware to run this system on?

+ 3
- 0
src/freedombone Просмотреть файл

@@ -2262,6 +2262,9 @@ function mesh_cjdns {
2262 2262
 }
2263 2263
 
2264 2264
 function create_mirrors {
2265
+    if [ -d /home/trove ]; then
2266
+        userdel -r trove
2267
+    fi
2265 2268
     if grep -Fxq "create_mirrors" $COMPLETION_FILE; then
2266 2269
         return
2267 2270
     fi

+ 0
- 1
src/freedombone-mirrors Просмотреть файл

@@ -41,7 +41,6 @@ CONFIGURATION_FILE="/root/${PROJECT_NAME}.cfg"
41 41
 # if this is blank then just use the default repos
42 42
 FRIENDS_MIRRORS_SERVER=
43 43
 REPOS=
44
-MIRRORS_BASE=/home/mirrors/mirrors
45 44
 MY_MIRRORS_PASSWORD=
46 45
 FRIENDS_MIRRORS_PASSWORD=
47 46
 NEW_MIRRORS='no'