fix: arch AUR downgrade

This commit is contained in:
Vinicius Moreira
2019-09-19 11:21:06 -03:00
parent 65ef198500
commit 65e03dd80b

View File

@@ -94,7 +94,7 @@ def install_as_process(pkgpath: str, root_password: str, aur: bool, pkgdir: str
else:
cmd = ['pacman', '-S', pkgpath, '--noconfirm'] # pkgpath = pkgname
return SystemProcess(new_root_subprocess(cmd, root_password, cwd=pkgdir))
return SystemProcess(new_root_subprocess(cmd, root_password, cwd=pkgdir), wrong_error_phrase='warning: downgrading package')
def list_desktop_entries(pkgnames: Set[str]) -> List[str]: