1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

app_caches: mkdir before trying to cleanup and update cache

This commit is contained in:
Salamandar 2024-06-24 11:04:24 +02:00 committed by Salamandar
parent 579d852a90
commit 731be56ef5

View file

@ -150,6 +150,8 @@ def __run_for_catalog():
if args.verbose:
logging.getLogger().setLevel(logging.INFO)
APPS_CACHE_DIR.mkdir(exist_ok=True, parents=True)
if args.cleanup:
apps_cache_cleanup(get_catalog())
apps_cache_update_all(