mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-06-03 06:10:10 +02:00
check for the basename of the repo_icon value
This commit is contained in:
parent
65934f35a8
commit
f8c8261630
|
@ -2302,9 +2302,9 @@ def main():
|
|||
|
||||
# check that icons exist now, rather than fail at the end of `fdroid update`
|
||||
if 'repo_icon' in config:
|
||||
if not os.path.exists(os.path.join(repodirs[0], 'icons', config['repo_icon'])):
|
||||
if not os.path.exists(os.path.join(repodirs[0], 'icons', os.path.basename(config['repo_icon']))):
|
||||
logging.warning(_('repo_icon "repo/icons/{path}" does not exist! Check "config.yml".').
|
||||
format(path=config['repo_icon']))
|
||||
format(path=os.path.basename(config['repo_icon'])))
|
||||
|
||||
# if the user asks to create a keystore, do it now, reusing whatever it can
|
||||
if options.create_key:
|
||||
|
|
Loading…
Reference in New Issue
Block a user