From f2b26188fd4debefb9a93932a919d39bf80be10a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 26 Oct 2022 13:27:42 +0100 Subject: rename start && startqt -> cliExec && guiExec --- src/backend/setBranch.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/backend/setBranch.py') 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") -- cgit v1.2.3