diff options
Diffstat (limited to 'src/backend/setBranch.py')
-rw-r--r-- | src/backend/setBranch.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/setBranch.py b/src/backend/setBranch.py index 2633dd9..a2b1f62 100644 --- a/src/backend/setBranch.py +++ b/src/backend/setBranch.py @@ -79,16 +79,15 @@ def giveWarning(branch,remote): print("Hint : Use the even numbers (2,4,6,8) from 'sisyphus mirror list'") print("Examples : 'sisyphus mirror set 4' or 'sisyphus mirror set 8'\n") - -def start(branch,remote): +def cliExec(branch,remote): if sisyphus.checkEnvironment.root(): sisyphus.purgeEnvironment.branch() sisyphus.purgeEnvironment.metadata() injectGentooRepo(branch,remote) injectRedcoreRepo(branch,remote) injectPortageConfigRepo(branch,remote) - sisyphus.setJobs.start() - sisyphus.setProfile.start() + sisyphus.setJobs.cliExec() + sisyphus.setProfile.cliExec() giveWarning(branch,remote) else: sys.exit("\nYou need root permissions to do this, exiting!\n") |