Remove pacman delegation and fix minor issues with database logic
This commit is contained in:
@@ -25,12 +25,7 @@ def install(pkgname: str):
|
||||
if meta is None:
|
||||
print(f"error: package '{pkgname}' not found is userman db")
|
||||
sys.exit(1)
|
||||
|
||||
if meta.get("install_mode", "system") != "user":
|
||||
print(f":: Handing off '{pkgname}' to pacman")
|
||||
delegate_to_pacman(pkgname)
|
||||
return
|
||||
|
||||
|
||||
pkg_path, sig_path = fetch_package(meta)
|
||||
|
||||
if not verify_sig(pkg_path, sig_path):
|
||||
|
||||
Reference in New Issue
Block a user