chiark / gitweb /
ignore cache on key name change, instead of crashing
authorHans-Christoph Steiner <hans@eds.org>
Mon, 3 Apr 2017 14:52:17 +0000 (16:52 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 3 Apr 2017 18:20:25 +0000 (20:20 +0200)
commit4d50ab9badcd57b769644450d3d6872ebcc329f2
tree6508e30173c196e4a72282e8e1f73d6013b5aedc
parent5ad3486741cee7d76d251cc27a49e1b4fa7310b9
ignore cache on key name change, instead of crashing

In 6c2cf2ccdd7130a034e50f9bea481351d475a272, the names of some essential
data bits changed.  If those names are not in the tmp/apkcache, then
`fdroid update` shouldn't crash but instead just ignore that cache entry.
tmp/apkcache should be deleted since the metadata version was bumped, but
I guess that does not always happen.
fdroidserver/update.py