Should probably feed pacman the package name
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
cdc83819f5
commit
7fedda7342
2
prm
2
prm
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user