From 451815d2c46757c3ba67f37f079a8adf094a9a2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jan 2023 12:56:31 +0000 Subject: purge the download cache when switching branches --- src/backend/setbranch.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/setbranch.py') 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) -- cgit v1.2.3