Should probably feed pacman the package name

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2016-03-17 02:29:43 +03:00
parent cdc83819f5
commit 7fedda7342

2
prm
View File

@ -303,7 +303,7 @@ main() {
if (( ! "$?" )); then if (( ! "$?" )); then
repo='aur' repo='aur'
else else
read -r repo < <( pacman -Sp --print-format '%r' ) read -r repo < <( pacman -Sp --print-format '%r' "$package" )
[[ "$repo" ]] || { [[ "$repo" ]] || {
err "Can't find package %s\n" "$package" err "Can't find package %s\n" "$package"