summaryrefslogtreecommitdiff
path: root/src/backend/searchPkg.py
diff options
context:
space:
mode:
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")