Skip to content

Commit

Permalink
app_caches: mkdir before trying to cleanup and update cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Jun 24, 2024
1 parent 579d852 commit 731be56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/app_caches.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 731be56

Please sign in to comment.