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"