diff options
-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:]: |