diff options
-rw-r--r-- | src/backend/purgeenv.py | 2 | ||||
-rw-r--r-- | src/backend/setbranch.py | 1 |
2 files changed, 3 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): diff --git a/src/backend/setbranch.py b/src/backend/setbranch.py index 0b013a3..ac0f99e 100644 --- a/src/backend/setbranch.py +++ b/src/backend/setbranch.py @@ -92,6 +92,7 @@ def giveWarning(branch, remote): def start(branch, remote): if sisyphus.checkenv.root(): sisyphus.purgeenv.branch() + sisyphus.purgeenv.cache() sisyphus.purgeenv.metadata() injectGentooRepo(branch, remote) injectRedcoreRepo(branch, remote) |