This commit is contained in:
teldra 2022-02-09 14:42:05 +01:00
parent 54535c6f97
commit fa1f15920f

View File

@ -373,7 +373,7 @@ network() {
add_arg_pkg() { add_arg_pkg() {
for i in "${@}"; do 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 "${@}" addpkg "${@}"
fi fi
done done