From 515171c670ed6ae373002196b8cd3dd1154cd5cc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 Jan 2021 14:41:20 +0000 Subject: ui : move package operations into the backend --- src/backend/uninstallforce.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/backend/uninstallforce.py (limited to 'src/backend/uninstallforce.py') diff --git a/src/backend/uninstallforce.py b/src/backend/uninstallforce.py deleted file mode 100644 index 11139f4..0000000 --- a/src/backend/uninstallforce.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/python3 - -import subprocess -import sisyphus.check -import sisyphus.database -import sys - -def start(pkgname): - if sisyphus.check.root(): - portageExec = subprocess.Popen(['emerge', '--quiet', '--unmerge', '--ask'] + list(pkgname)) - portageExec.wait() - sisyphus.database.syncLocal() - else: - sys.exit("\nYou need root permissions to do this, exiting!\n") -- cgit v1.2.3