diff options
Diffstat (limited to 'src/backend/forceuninstall.py')
-rw-r--r-- | src/backend/forceuninstall.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/backend/forceuninstall.py b/src/backend/forceuninstall.py deleted file mode 100644 index 9329695..0000000 --- a/src/backend/forceuninstall.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/python3 - -import subprocess -import sys -import sisyphus.check -import sisyphus.database - -def start(pkgname): - if sisyphus.check.root(): - portageExec = subprocess.Popen(['emerge', '--quiet', '--unmerge', '--ask'] + list(pkgname), stdout=subprocess.PIPE, stderr=subprocess.PIPE) - stdout, stderr = portageExec.communicate() - sisyphus.database.syncLocal() - else: - sys.exit("\nYou need root permissions to do this, exiting!\n") |