summaryrefslogtreecommitdiff
path: root/src/backend/uninstall.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 20:02:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 20:02:58 +0000
commit206c993e45c39e60eceae1f66c69d39903ab9266 (patch)
tree96e15cacf4f5ad804fb97f0fb37584c6d064acfd /src/backend/uninstall.py
parent80d633d0738461d7715e5051ab7f3248068fa87e (diff)
space functions a bit
Diffstat (limited to 'src/backend/uninstall.py')
-rw-r--r--src/backend/uninstall.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/uninstall.py b/src/backend/uninstall.py
index d219b47..be1a1e3 100644
--- a/src/backend/uninstall.py
+++ b/src/backend/uninstall.py
@@ -8,6 +8,7 @@ import sisyphus.checkenv
import sisyphus.killemerge
import sisyphus.syncdb
+
def start(pkgname):
if sisyphus.checkenv.root():
portageExec = subprocess.Popen(['emerge', '--quiet', '--depclean', '--ask'] + list(pkgname))
@@ -16,6 +17,7 @@ def start(pkgname):
else:
sys.exit("\nYou need root permissions to do this, exiting!\n")
+
def fstart(pkgname):
if sisyphus.checkenv.root():
portageExec = subprocess.Popen(['emerge', '--quiet', '--unmerge', '--ask'] + list(pkgname))
@@ -24,6 +26,7 @@ def fstart(pkgname):
else:
sys.exit("\nYou need root permissions to do this, exiting!\n")
+
def startx(pkgname):
portageExec = subprocess.Popen(['emerge', '--depclean'] + pkgname, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user