diff options
Diffstat (limited to 'src/backend/uninstallforce.py')
-rw-r--r-- | src/backend/uninstallforce.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/backend/uninstallforce.py b/src/backend/uninstallforce.py new file mode 100644 index 0000000..e3f4144 --- /dev/null +++ b/src/backend/uninstallforce.py @@ -0,0 +1,11 @@ +#!/usr/bin/python3 + +import subprocess +import sisyphus.check +import sisyphus.sync + +def start(pkgList): + sisyphus.check.root() + portageExec = subprocess.Popen(['emerge', '--quiet', '--unmerge', '--ask'] + pkgList) + portageExec.wait() + sisyphus.database.syncLocal() |