chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7d1d9a
)
if using crypto smartcard, remind user to plug it in
author
Hans-Christoph Steiner
<hans@eds.org>
Thu, 17 Apr 2014 18:39:47 +0000
(14:39 -0400)
committer
Hans-Christoph Steiner
<hans@eds.org>
Wed, 23 Apr 2014 02:59:27 +0000
(22:59 -0400)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index b2d490b2581e847898765307277debe005bc80ee..53c999a2f1194cfc1a7e7bb608e918ed7391a26f 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-645,7
+645,10
@@
def make_index(apps, apks, repodir, archive, categories):
'-storepass:file', config['keystorepassfile']]
+ config['smartcardoptions'])
if p.returncode != 0:
- logging.critical("Failed to get repo pubkey")
+ msg = "Failed to get repo pubkey!"
+ if config['keystore'] == 'NONE':
+ msg += ' Is your crypto smartcard plugged in?'
+ logging.critical(msg)
sys.exit(1)
global repo_pubkey_fingerprint
repo_pubkey_fingerprint = cert_fingerprint(p.stdout)