update: do not crash on screenshots without texts/graphics

`fdroid update` crashed for apps that only had screenshots but no graphics
or localized texts because destdir was not being set in that case.  This
fixes that and adds a test case.

closes #320
!286
This commit is contained in:
Hans-Christoph Steiner 2017-06-12 16:15:07 +02:00
parent e1d316a4bc
commit d06f05e9c8
3 changed files with 2 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB