diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-14 12:56:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-14 12:56:31 +0000 |
commit | 451815d2c46757c3ba67f37f079a8adf094a9a2e (patch) | |
tree | 74a15fe151e005c06a04a4ba89b3a45a9493542c /src/backend/purgeenv.py | |
parent | def1fa5301790963e7e7ae214a2df1c692f97005 (diff) |
purge the download cache when switching branches
Diffstat (limited to 'src/backend/purgeenv.py')
-rw-r--r-- | src/backend/purgeenv.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/purgeenv.py b/src/backend/purgeenv.py index b2c96f7..53aaf27 100644 --- a/src/backend/purgeenv.py +++ b/src/backend/purgeenv.py @@ -39,6 +39,7 @@ def branch(): os.makedirs(sisyphus.getfs.portageConfigDir) +@animation.wait('purging cached files') def cache(): if os.path.isdir(sisyphus.getfs.portageCacheDir): for files in os.listdir(sisyphus.getfs.portageCacheDir): @@ -57,6 +58,7 @@ def cache(): sisyphus.getfs.portageDistDir, files)) +@animation.wait('purging metadata files') def metadata(): if os.path.isdir(sisyphus.getfs.portageMetadataDir): for files in os.listdir(sisyphus.getfs.portageMetadataDir): |