mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 05:14:16 +02:00
[arch] fix: install simulation actually installs the package when password is blank
This commit is contained in:
@@ -162,7 +162,7 @@ def install_as_process(pkgpaths: Iterable[str], root_password: Optional[str], fi
|
||||
cmd.append('--asdeps')
|
||||
|
||||
return SimpleProcess(cmd=cmd,
|
||||
root_password=root_password,
|
||||
root_password=None if simulate else root_password,
|
||||
cwd=pkgdir,
|
||||
error_phrases={"error: failed to prepare transaction", 'error: failed to commit transaction', 'error: target not found'},
|
||||
shell=True)
|
||||
|
||||
Reference in New Issue
Block a user