From b72590287d730e4f1921c7176f96fcdaa3539d18 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Fri, 20 Sep 2019 14:59:21 -0300 Subject: [PATCH] fix: AUR installation fails when gets warning messages from pacman --- bauh/gems/arch/pacman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/gems/arch/pacman.py b/bauh/gems/arch/pacman.py index 634048c3..68691a4b 100644 --- a/bauh/gems/arch/pacman.py +++ b/bauh/gems/arch/pacman.py @@ -99,7 +99,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), wrong_error_phrase='warning: downgrading package') + return SystemProcess(new_root_subprocess(cmd, root_password, cwd=pkgdir), wrong_error_phrase='warning:') def list_desktop_entries(pkgnames: Set[str]) -> List[str]: