Attempt to support "any" packages that only support one arch.

This commit is contained in:
Jack Greiner 2024-08-19 14:15:46 -04:00
parent 56d8ec4ec9
commit 66ff696a0e
No known key found for this signature in database
GPG Key ID: F34343A8F6B33E1E

View File

@ -323,6 +323,9 @@ getPkgUrl()
if [ -z "$pkg" ]; then
pkg=$(echo "$pkgs" | grep $OSXVERSION | grep "noarch" | uniq | tail -n1)
fi
if [ -z "$pkg" ]; then
pkg=$(echo "$pkgs" | grep "any" | grep $ARCH | uniq | tail -n1)
fi
if [ -z "$pkg" ]; then
pkg=$(echo "$pkgs" | grep "any" | grep "noarch" | uniq | tail -n1)
fi