summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authore5ten <e5ten.arch@gmail.com>2019-05-04 22:58:41 -0400
committere5ten <e5ten.arch@gmail.com>2019-05-04 22:58:41 -0400
commit6aaabf1d8a7dc8bf055f4277882f52821c8818c4 (patch)
tree05823592ddc827248171e761aca454b722ab2a7e
parentc04832c9b74962a313461f8f3621193f3827e48e (diff)
fix checkrequires by making expac command check only specified packages not all
-rwxr-xr-xpacaur2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacaur b/pacaur
index 714b58f..02369c1 100755
--- a/pacaur
+++ b/pacaur
@@ -1554,7 +1554,7 @@ GetInfo() {
}
CheckRequires() {
- local Qrequires=($(expac -Q '%N'))
+ local Qrequires=($(expac -Q '%N' "$@"))
if [[ "${Qrequires[*]}" ]]; then
Note "f" $"failed to prepare transaction (could not satisfy dependencies)"
Note "e" $"${Qrequires[@]}: requires $@" "$E_INSTALL_DEPS_FAILED"