diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-11 15:21:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-11 15:21:08 +0000 |
commit | e123b0d877493e5b8f7c2c5028f832bb6ab585df (patch) | |
tree | cb1a6a888e6334006952ce3907fe5123470461b5 /src/frontend/cli/sisyphus-cli.py | |
parent | d4aac801bf44fbad975fbadf1807d73291b09dde (diff) |
libsisyphus :
* implement first part of hybrid install and hybrid upgrade
* for now they'll fallback to binary mode only, even if source dependencies will be found
sisyphus-cly :
* expose the new functions via sisyphus hybrid-install and sisyphus hybrid-upgrade
Diffstat (limited to 'src/frontend/cli/sisyphus-cli.py')
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index ff68593..3a1623e 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -12,6 +12,11 @@ if "__main__" == __name__: sys.exit("\n" + "Nothing to install, please give at least one package name; quitting" + "\n") else: startInstall(pkgList) + elif "hybrid-install" in sys.argv[1:]: + if not pkgList: + sys.exit("\n" + "Nothing to install, please give at least one package name; quitting" + "\n") + else: + startHybridInstall(pkgList) elif "uninstall" in sys.argv[1:]: if not pkgList: sys.exit("\n" + "Nothing to uninstall, please give at least one package name; quitting" + "\n") @@ -28,6 +33,8 @@ if "__main__" == __name__: startSync() elif "upgrade" in sys.argv[1:]: startUpgrade() + elif "hybrid-upgrade" in sys.argv[1:]: + startHybridUpgrade() elif "search" in sys.argv[1:]: if not pkgList: sys.exit("\n" + "Nothing to search, please give at least one package name; quitting" + "\n") |