summaryrefslogtreecommitdiff
path: root/src/frontend/cli
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-11 15:21:08 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-11 15:21:08 +0000
commite123b0d877493e5b8f7c2c5028f832bb6ab585df (patch)
treecb1a6a888e6334006952ce3907fe5123470461b5 /src/frontend/cli
parentd4aac801bf44fbad975fbadf1807d73291b09dde (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')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py7
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")