summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-09-16 14:09:12 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-09-16 14:09:12 +0100
commit579a8d3b4efff9ac443fc019ddf441a8d4dd184c (patch)
tree2d8cd662527a3b14fbf1376f351cba965b722f3e /src
parenta62a74668e3ab1259d57c38d4d1b62020719ebf1 (diff)
rearrange backend && cli frontend code
Diffstat (limited to 'src')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index f0b9c9e..1fb179c 100755
--- a/src/frontend/cli/sisyphus-cli.py
+++ b/src/frontend/cli/sisyphus-cli.py
@@ -10,22 +10,22 @@ PKGLIST = sys.argv[2:]
if "__main__" == __name__:
if "install" in sys.argv[1:]:
sisyphus_pkg_install(PKGLIST)
- elif "uninstall" in sys.argv[1:]:
- sisyphus_pkg_uninstall(PKGLIST)
- elif "force-uninstall" in sys.argv[1:]:
- sisyphus_pkg_force_uninstall(PKGLIST)
- elif "remove-orphans" in sys.argv[1:]:
- sisyphus_pkg_remove_orphans()
- elif "upgrade" in sys.argv[1:]:
- sisyphus_pkg_system_upgrade()
elif "auto-install" in sys.argv[1:]:
sisyphus_pkg_auto_install(PKGLIST)
+ elif "uninstall" in sys.argv[1:]:
+ sisyphus_pkg_uninstall(PKGLIST)
elif "auto-uninstall" in sys.argv[1:]:
sisyphus_pkg_auto_uninstall(PKGLIST)
+ elif "force-uninstall" in sys.argv[1:]:
+ sisyphus_pkg_force_uninstall(PKGLIST)
elif "auto-force-uninstall" in sys.argv[1:]:
sisyphus_pkg_auto_force_uninstall(PKGLIST)
+ elif "remove-orphans" in sys.argv[1:]:
+ sisyphus_pkg_remove_orphans()
elif "auto-remove-orphans" in sys.argv[1:]:
sisyphus_pkg_auto_remove_orphans()
+ elif "upgrade" in sys.argv[1:]:
+ sisyphus_pkg_system_upgrade()
elif "auto-upgrade" in sys.argv[1:]:
sisyphus_pkg_auto_system_upgrade()
elif "search" in sys.argv[1:]: