diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-07 10:59:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-07 10:59:19 +0100 |
commit | b37abfba76c0a60254f7de1a2f04d46fd3d35189 (patch) | |
tree | 2fce60b87d9d83f64b870281545e45a92995a781 | |
parent | ed88746cd33c0f861e9c45bf05bf9e44d86089ba (diff) |
add spmsync option back
-rw-r--r-- | src/backend/spmsync.py | 6 | ||||
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/backend/spmsync.py b/src/backend/spmsync.py new file mode 100644 index 0000000..83f3089 --- /dev/null +++ b/src/backend/spmsync.py @@ -0,0 +1,6 @@ +#!/usr/bin/python3 + +import sisyphus.database + +def start(): + sisyphus.database.syncLocal() diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 0a98cdd..5b7e3b2 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -37,6 +37,8 @@ if "__main__" == __name__: sisyphus.upgrade.start() elif "--rescue" in sys.argv[1:]: sisyphus.rescue.start() + elif "--spmsync" in sys.argv[1:]: + sisyphus.spmsync.start() elif "--sysinfo" in sys.argv[1:]: sisyphus.sysinfo.show() elif "--mirror" in sys.argv[1:]: |