summaryrefslogtreecommitdiff
path: root/src/backend/autoremove.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/autoremove.py')
-rw-r--r--src/backend/autoremove.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/autoremove.py b/src/backend/autoremove.py
index 28d4f31..c49787e 100644
--- a/src/backend/autoremove.py
+++ b/src/backend/autoremove.py
@@ -8,6 +8,7 @@ import sisyphus.checkenv
import sisyphus.killemerge
import sisyphus.syncdb
+
def start():
if sisyphus.checkenv.root():
portageExec = subprocess.Popen(['emerge', '--quiet', '--depclean', '--ask'])
@@ -16,6 +17,7 @@ def start():
else:
sys.exit("\nYou need root permissions to do this, exiting!\n")
+
def startx():
portageExec = subprocess.Popen(['emerge', '--depclean'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user