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.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/update.py b/src/backend/update.py
index 63624f5..a70d0e5 100644
--- a/src/backend/update.py
+++ b/src/backend/update.py
@@ -37,9 +37,9 @@ def checksync():
@animation.wait('fetching updates')
def start():
binhostURL = sisyphus.binhost.getURL()
- branchBinhostMatch,localBranch = sisyphus.check.branch()
+ needsMatch,localBranch = sisyphus.check.match()
- if branchBinhostMatch == 1:
+ if needsMatch == 0:
checksync()
else:
if "packages-next" in binhostURL:
@@ -50,9 +50,9 @@ def start():
def startqt():
binhostURL = sisyphus.binhost.getURL()
- branchBinhostMatch,localBranch = sisyphus.check.branch()
+ needsMatch,localBranch = sisyphus.check.match()
- if branchBinhostMatch == 1:
+ if needsMatch == 0:
checksync()
else:
if "packages-next" in binhostURL: