summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/purgeenv.py2
-rw-r--r--src/backend/setbranch.py1
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)