chiark / gitweb /
check repo icons exist now before running through all of `fdroid update`
authorHans-Christoph Steiner <hans@eds.org>
Mon, 30 Jun 2014 16:19:47 +0000 (12:19 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 1 Jul 2014 03:01:47 +0000 (23:01 -0400)
commit3dbe503071ca34d514c40657ea2e2f678e61b232
tree1ce8cfcb21a45035e5ee0dc54f137ce9c522eb7b
parent7a3992aa1a231be2f48d2b8bbb4758c22a892dd1
check repo icons exist now before running through all of `fdroid update`

Before, if repo_icon or archive_icon pointed to a non-existent file, then
`fdroid update` would run through the whole process of building a repo,
then fail at the very end because of the non-existent file.  On the next
run, `fdroid update` then starts from the beginning.

This just checks for those files at the beginning, and exits with an error
if they are not found.
fdroidserver/update.py