chiark / gitweb /
init: only overwrites config.py, so run even if repo/ exists
authorHans-Christoph Steiner <hans@eds.org>
Wed, 23 Apr 2014 16:46:24 +0000 (12:46 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 23 Apr 2014 23:33:01 +0000 (19:33 -0400)
commitcc089b49b1c47905e881a5e7ce1d4f23182ae824
tree2bad35c9870669704274d99e0af0aedc06d060ab
parent186aec46baed1fb50af9ffb2e296abca088a7028
init: only overwrites config.py, so run even if repo/ exists

Previously, `fdroid init` would exit if a repo/ subdir existed.  Since it
only changes config.py, that test just caused confusion. Now, only exit if
config.py exists, and if repo/ does not exist, create it.
fdroidserver/init.py