summaryrefslogtreecommitdiff
path: root/src/backend/searchPkg.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:22:46 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:22:46 +0000
commit331cd284de1de5f7192e1588b836f89337326784 (patch)
tree190b401a240c47705f0d0e5b2ebecaf435032f09 /src/backend/searchPkg.py
parent712f936222be4c06ca00ef922a98cd94db71af11 (diff)
move checkEnvironment -> checkenv
Diffstat (limited to 'src/backend/searchPkg.py')
-rw-r--r--src/backend/searchPkg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/searchPkg.py b/src/backend/searchPkg.py
index 5e8540d..6773a7a 100644
--- a/src/backend/searchPkg.py
+++ b/src/backend/searchPkg.py
@@ -1,7 +1,7 @@
#!/usr/bin/python3
import sqlite3
-import sisyphus.checkEnvironment
+import sisyphus.checkenv
import sisyphus.getFilesystem
import sisyphus.updateAll
@@ -125,7 +125,7 @@ def showSearch(filter, cat, pn, desc, single):
print(f"\nFound {len(pkglist)} matching package(s) ...")
def cliExec(filter, cat, pn, desc, single):
- if sisyphus.checkEnvironment.root():
+ if sisyphus.checkenv.root():
sisyphus.updateAll.cliExec()
else:
print("\nYou are not root, cannot fetch updates.\nSearch result may be inaccurate!\n")