summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-19 11:01:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-19 11:01:55 +0100
commit821c32b066e3f754aa2ccfcf7adf66914151988c (patch)
tree3a83b4a7f77bfdc910b3d45a00bbacc0c8cf0ab6
parent94e70e3c6deb0a446ee3a125679148d0b0e27e50 (diff)
minor tweaks
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index 28c9216..c6ab4d5 100755
--- a/src/frontend/cli/sisyphus-cli.py
+++ b/src/frontend/cli/sisyphus-cli.py
@@ -5,9 +5,6 @@ import typer
from typing import List
from enum import Enum
-sisyphus.check.update()
-sisyphus.setjobs.start.__wrapped__() # undecorate
-
app = typer.Typer()
mirrorSetup = typer.Typer()
app.add_typer(mirrorSetup, name="mirror", help='List/Set the active binary repository mirror.')
@@ -197,4 +194,6 @@ def mirrorset(index: int):
sisyphus.mirror.setActive(index)
if __name__ == "__main__":
+ sisyphus.check.update()
+ sisyphus.setjobs.start.__wrapped__() # undecorate
app()