chiark / gitweb /
if keystore is given as arg to init, create keystore if it does not exist
authorHans-Christoph Steiner <hans@eds.org>
Fri, 4 Apr 2014 02:30:43 +0000 (22:30 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 7 Apr 2014 20:00:18 +0000 (16:00 -0400)
commitb41f9e67a9570337b43733291e962dc7b06135c1
treec1f8e5de4c77f073dfa8217592cb0b35440c5cba
parent2bd62239f71687d5c1b2c96833d4260df3f471b6
if keystore is given as arg to init, create keystore if it does not exist

Previously, `fdroid init --keystore /tmp/foo` expected the keystore to
exist, or it quit with an error.  But I've changed my mind, I think it is
useful to have it generate a new keystore at that location if it does not
exist.  For example, in tests/run-tests.sh. It still will not clobber an
existing file at that location.
fdroidserver/init.py