mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
Create repo/icons without failure
Fixes fdroid lint CI.
This commit is contained in:
parent
1b765d11e7
commit
5723a1dafe
@ -522,7 +522,7 @@ def load_localized_config(name, repodir):
|
|||||||
if key == "icon":
|
if key == "icon":
|
||||||
icons_dir = os.path.join(repodir, 'icons')
|
icons_dir = os.path.join(repodir, 'icons')
|
||||||
if not os.path.exists(icons_dir):
|
if not os.path.exists(icons_dir):
|
||||||
os.mkdir(icons_dir)
|
os.makedirs(icons_dir, exist_ok=True)
|
||||||
shutil.copy(os.path.join("config", value), icons_dir)
|
shutil.copy(os.path.join("config", value), icons_dir)
|
||||||
ret[afname][key][locale] = file_entry(
|
ret[afname][key][locale] = file_entry(
|
||||||
os.path.join(icons_dir, value)
|
os.path.join(icons_dir, value)
|
||||||
|
Loading…
Reference in New Issue
Block a user