summaryrefslogtreecommitdiff
path: root/src/backend/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/update.py')
-rw-r--r--src/backend/update.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/update.py b/src/backend/update.py
index 82f66d4..b2bb322 100644
--- a/src/backend/update.py
+++ b/src/backend/update.py
@@ -21,36 +21,36 @@ def syncAll():
@animation.wait('fetching updates')
def start():
activeBranch = sisyphus.getenv.systemBranch()
- binhostURL = sisyphus.getenv.binhostURL()
+ bhaddr = sisyphus.getenv.bhaddr()
isSane = sisyphus.checkenv.sanity()
if isSane == 1:
syncAll()
else:
- if "packages-next" in binhostURL:
+ if "packages-next" in bhaddr:
print(sisyphus.getcolor.green + "\n\nActive branch:" + " " + sisyphus.getcolor.reset + "'" + activeBranch + "'" + " " + "(stable)" +
- " " + sisyphus.getcolor.green + "\nActive binhost:" + " " + sisyphus.getcolor.reset + "'" + binhostURL + "'" + " " + "(testing)")
+ " " + sisyphus.getcolor.green + "\nActive binhost:" + " " + sisyphus.getcolor.reset + "'" + bhaddr + "'" + " " + "(testing)")
else:
print(sisyphus.getcolor.green + "\n\nActive branch:" + " " + sisyphus.getcolor.reset + "'" + activeBranch + "'" + " " + "(testing)" +
- " " + sisyphus.getcolor.green + "\nActive binhost:" + " " + sisyphus.getcolor.reset + "'" + binhostURL + "'" + " " + "(stable)")
+ " " + sisyphus.getcolor.green + "\nActive binhost:" + " " + sisyphus.getcolor.reset + "'" + bhaddr + "'" + " " + "(stable)")
sys.exit(sisyphus.getcolor.bright_red + "\n\nInvalid configuration!" + sisyphus.getcolor.reset + sisyphus.getcolor.bright_yellow +
"\nUse" + sisyphus.getcolor.reset + " " + "'" + "sisyphus branch --help" + "'" + " " + sisyphus.getcolor.bright_yellow + "for help" + sisyphus.getcolor.reset)
def xstart():
activeBranch = sisyphus.getenv.systemBranch()
- binhostURL = sisyphus.getenv.binhostURL()
+ bhaddr = sisyphus.getenv.bhaddr()
isSane = sisyphus.checkenv.sanity()
if isSane == 1:
syncAll()
else:
- if "packages-next" in binhostURL:
+ if "packages-next" in bhaddr:
print("\n\nActive branch:" + " " + "'" + activeBranch + "'" + " " + "(stable)" +
- "\nActive binhost:" + " " + "'" + binhostURL + "'" + " " + "(testing)")
+ "\nActive binhost:" + " " + "'" + bhaddr + "'" + " " + "(testing)")
else:
print("\n\nActive branch:" + " " + "'" + activeBranch + "'" + " " + "(testing)" +
- "\nActive binhost:" + " " + "'" + binhostURL + "'" + " " + "(stable)")
+ "\nActive binhost:" + " " + "'" + bhaddr + "'" + " " + "(stable)")
print("\n\nInvalid configuration!" +
"\nUse 'sisyphus branch --help' for help\n")
t = int(10)