summaryrefslogtreecommitdiff
path: root/src/backend/setBranch.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-26 13:27:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-26 13:27:42 +0100
commitf2b26188fd4debefb9a93932a919d39bf80be10a (patch)
tree3b54df26b65c718af9a8f0ef82ee5c3fcf9484e4 /src/backend/setBranch.py
parentb51a4c690ccf0353e87211ea4864d49b1c3d5c70 (diff)
rename start && startqt -> cliExec && guiExec
Diffstat (limited to 'src/backend/setBranch.py')
-rw-r--r--src/backend/setBranch.py7
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")