make fdroid server check whether serverwebroot is set

Having serverwebroot optional in `fdroid server` means that it can support
multiple methods of hosting, like cloud storage services.  `fdroid server`
can also then support multiple repo hosting options at the same time.
This commit is contained in:
Hans-Christoph Steiner 2014-04-14 23:44:20 -04:00
parent 1ca7949bb1
commit 6b65257516
2 changed files with 32 additions and 26 deletions

View file

@ -100,10 +100,10 @@ keyaliases['com.example.another.plugin'] = '@com.example.another'
# generated repo to the server that is it hosted on. It must end in the
# standard public repo name of "/fdroid", but can be in up to three levels of
# sub-directories (i.e. /var/www/packagerepos/fdroid).
serverwebroot = 'user@example:/var/www/fdroid'
#serverwebroot = 'user@example:/var/www/fdroid'
# If you want to force 'fdroid server' to use a non-standard serverwebroot
#nonstandardwebroot = True
#nonstandardwebroot = False
#Wiki details
wiki_protocol = "http"