From fa1f15920f87bc8d5f33dd31858746385e4a95d5 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 9 Feb 2022 14:42:05 +0100 Subject: [PATCH] progress --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 6c2453c..e7b947a 100755 --- a/main.sh +++ b/main.sh @@ -373,7 +373,7 @@ network() { add_arg_pkg() { for i in "${@}"; do - if xbps-query -Rs ${i}|awk '{print $2}'|grep "^${i}"; then + if xbps-query -Rs ${i}|awk '{print $2}'|grep "^${i}" >/dev/null; then addpkg "${@}" fi done