This commit is contained in:
teldra 2022-02-09 14:41:11 +01:00
parent 6bef0fb0ef
commit 54535c6f97

View File

@ -372,8 +372,8 @@ network() {
}
add_arg_pkg() {
for i in "${@}"
if xbps-query -Rs $t|awk '{print $2}'|grep "^$t"; then
for i in "${@}"; do
if xbps-query -Rs ${i}|awk '{print $2}'|grep "^${i}"; then
addpkg "${@}"
fi
done