summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 15:23:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 15:23:53 +0000
commit103aa455aee322549c77aad205ce9e92dd7e6b52 (patch)
treef148de8f1e51edc19c875f60bec9ac1e3232a5eb /src/backend
parent5fc5276d968a38d05fa5659c06392e83cc428516 (diff)
move updateAll -> update
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/__init__.py2
-rw-r--r--src/backend/installpkg.py4
-rw-r--r--src/backend/installsrc.py4
-rw-r--r--src/backend/searchpkg.py4
-rw-r--r--src/backend/update.py (renamed from src/backend/updateAll.py)0
-rw-r--r--src/backend/upgradePkg.py4
-rw-r--r--src/backend/upgradeSrc.py4
7 files changed, 11 insertions, 11 deletions
diff --git a/src/backend/__init__.py b/src/backend/__init__.py
index 371de60..dd96de9 100644
--- a/src/backend/__init__.py
+++ b/src/backend/__init__.py
@@ -19,6 +19,6 @@ from .syncenv import *
from .syncspm import *
from .sysinfo import *
from .uninstall import *
-from .updateAll import *
+from .update import *
from .upgradePkg import *
from .upgradeSrc import *
diff --git a/src/backend/installpkg.py b/src/backend/installpkg.py
index 1a27051..0661831 100644
--- a/src/backend/installpkg.py
+++ b/src/backend/installpkg.py
@@ -13,11 +13,11 @@ import sisyphus.getfs
import sisyphus.killemerge
import sisyphus.solvedeps
import sisyphus.syncdb
-import sisyphus.updateAll
+import sisyphus.update
def cliExec(pkgname):
if sisyphus.checkenv.root():
- sisyphus.updateAll.cliExec()
+ sisyphus.update.cliExec()
binhostURL = sisyphus.getenv.binhostURL()
areBinaries,areSources,needsConfig = sisyphus.solvedeps.package(pkgname)
diff --git a/src/backend/installsrc.py b/src/backend/installsrc.py
index 9b88974..374a215 100644
--- a/src/backend/installsrc.py
+++ b/src/backend/installsrc.py
@@ -11,11 +11,11 @@ import sisyphus.getenv
import sisyphus.getfs
import sisyphus.solvedeps
import sisyphus.syncdb
-import sisyphus.updateAll
+import sisyphus.update
def cliExec(pkgname):
if sisyphus.checkenv.root():
- sisyphus.updateAll.cliExec()
+ sisyphus.update.cliExec()
binhostURL = sisyphus.getenv.binhostURL()
areBinaries,areSources,needsConfig = sisyphus.solvedeps.package(pkgname)
diff --git a/src/backend/searchpkg.py b/src/backend/searchpkg.py
index df62001..e0c33c6 100644
--- a/src/backend/searchpkg.py
+++ b/src/backend/searchpkg.py
@@ -3,7 +3,7 @@
import sqlite3
import sisyphus.checkenv
import sisyphus.getfs
-import sisyphus.updateAll
+import sisyphus.update
def searchDB(filter, cat = '', pn = '', desc = ''):
NOVIRT = "AND cat NOT LIKE 'virtual'"
@@ -126,7 +126,7 @@ def showSearch(filter, cat, pn, desc, single):
def cliExec(filter, cat, pn, desc, single):
if sisyphus.checkenv.root():
- sisyphus.updateAll.cliExec()
+ sisyphus.update.cliExec()
else:
print("\nYou are not root, cannot fetch updates.\nSearch result may be inaccurate!\n")
diff --git a/src/backend/updateAll.py b/src/backend/update.py
index 5a6a6cd..5a6a6cd 100644
--- a/src/backend/updateAll.py
+++ b/src/backend/update.py
diff --git a/src/backend/upgradePkg.py b/src/backend/upgradePkg.py
index eea69a9..b4db8f5 100644
--- a/src/backend/upgradePkg.py
+++ b/src/backend/upgradePkg.py
@@ -13,11 +13,11 @@ import sisyphus.getfs
import sisyphus.killemerge
import sisyphus.solvedeps
import sisyphus.syncdb
-import sisyphus.updateAll
+import sisyphus.update
def cliExec():
if sisyphus.checkenv.root():
- sisyphus.updateAll.cliExec()
+ sisyphus.update.cliExec()
binhostURL = sisyphus.getenv.binhostURL()
areBinaries,areSources,needsConfig = sisyphus.solvedeps.world()
diff --git a/src/backend/upgradeSrc.py b/src/backend/upgradeSrc.py
index 481fd83..0ad66c8 100644
--- a/src/backend/upgradeSrc.py
+++ b/src/backend/upgradeSrc.py
@@ -11,11 +11,11 @@ import sisyphus.getenv
import sisyphus.getfs
import sisyphus.solvedeps
import sisyphus.syncdb
-import sisyphus.updateAll
+import sisyphus.update
def cliExec():
if sisyphus.checkenv.root():
- sisyphus.updateAll.cliExec()
+ sisyphus.update.cliExec()
binhostURL = sisyphus.getenv.binhostURL()
areBinaries,areSources,needsConfig = sisyphus.solvedeps.world()