From 7fedda7342746d35308b24a5627ceccc543863a7 Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 17 Mar 2016 02:29:43 +0300 Subject: [PATCH] Should probably feed pacman the package name Signed-off-by: fbt --- prm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prm b/prm index a85a9c1..703dbac 100755 --- a/prm +++ b/prm @@ -303,7 +303,7 @@ main() { if (( ! "$?" )); then repo='aur' else - read -r repo < <( pacman -Sp --print-format '%r' ) + read -r repo < <( pacman -Sp --print-format '%r' "$package" ) [[ "$repo" ]] || { err "Can't find package %s\n" "$package"