summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-05 00:39:49 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-05 00:39:49 +0000
commita48d0642cb8e04cfe3f07bc3ede50de3741fa386 (patch)
tree52e264c617eb5e4d6588f34dc1af8b292c02c066 /src/backend
parent01cee2ca92981ff1dd6800ea416cf9c02694a3c8 (diff)
some more consistencyv4.2211.0
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/autoremove.py2
-rw-r--r--src/backend/install.py2
-rw-r--r--src/backend/uninstall.py2
-rw-r--r--src/backend/update.py2
-rw-r--r--src/backend/upgrade.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/autoremove.py b/src/backend/autoremove.py
index c49787e..303b314 100644
--- a/src/backend/autoremove.py
+++ b/src/backend/autoremove.py
@@ -18,7 +18,7 @@ def start():
sys.exit("\nYou need root permissions to do this, exiting!\n")
-def startx():
+def xstart():
portageExec = subprocess.Popen(['emerge', '--depclean'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
atexit.register(sisyphus.killemerge.start, portageExec)
diff --git a/src/backend/install.py b/src/backend/install.py
index 1938d6d..581c69f 100644
--- a/src/backend/install.py
+++ b/src/backend/install.py
@@ -92,7 +92,7 @@ def estart(pkgname):
sys.exit("\nYou need root permissions to do this, exiting!\n")
-def startx(pkgname):
+def xstart(pkgname):
sisyphus.solvedeps.pkg.__wrapped__(pkgname) #undecorate
areBinaries,areSources,needsConfig = pickle.load(open(os.path.join(sisyphus.getfs.portageMetadataDir, "sisyphus_solvedeps_pkg.pickle"), "rb"))
diff --git a/src/backend/uninstall.py b/src/backend/uninstall.py
index be1a1e3..0c22182 100644
--- a/src/backend/uninstall.py
+++ b/src/backend/uninstall.py
@@ -27,7 +27,7 @@ def fstart(pkgname):
sys.exit("\nYou need root permissions to do this, exiting!\n")
-def startx(pkgname):
+def xstart(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
atexit.register(sisyphus.killemerge.start, portageExec)
diff --git a/src/backend/update.py b/src/backend/update.py
index d6d944e..a60c597 100644
--- a/src/backend/update.py
+++ b/src/backend/update.py
@@ -34,7 +34,7 @@ def start():
sys.exit("\nInvalid branch - binhost pairing; Use 'sisyphus branch --help' for help; Quitting.")
-def startx():
+def xstart():
activeBranch = sisyphus.checkenv.branch()
binhostURL = sisyphus.getenv.binhostURL()
isSane = sisyphus.checkenv.sanity()
diff --git a/src/backend/upgrade.py b/src/backend/upgrade.py
index 5b51924..41d07f3 100644
--- a/src/backend/upgrade.py
+++ b/src/backend/upgrade.py
@@ -92,7 +92,7 @@ def estart():
sys.exit("\nYou need root permissions to do this, exiting!\n")
-def startx():
+def xstart():
sisyphus.solvedeps.world.__wrapped__() #undecorate
areBinaries,areSources,needsConfig = pickle.load(open(os.path.join(sisyphus.getfs.portageMetadataDir, "sisyphus_solvedeps_world.pickle"), "rb"))