mirror of
https://github.com/tpoechtrager/osxcross.git
synced 2024-10-03 21:28:33 +03:00
support any_any macports packages
This commit is contained in:
parent
2f60d1e90d
commit
362d90975b
@ -315,12 +315,20 @@ getPkgUrl()
|
||||
grep "$pkgname-$pkgversion" | grep $OSXVERSION | grep "noarch" | \
|
||||
uniq | tail -n1)
|
||||
fi
|
||||
if [ -z "$pkg" ]; then
|
||||
pkg=$(echo "$pkgs" | \
|
||||
grep "$pkgname-$pkgversion" | grep "any_any.noarch" | \
|
||||
uniq | tail -n1)
|
||||
fi
|
||||
if [ -z "$pkg" ]; then
|
||||
pkg=$(echo "$pkgs" | grep $OSXVERSION | grep $ARCH | uniq | tail -n1)
|
||||
fi
|
||||
if [ -z "$pkg" ]; then
|
||||
pkg=$(echo "$pkgs" | grep $OSXVERSION | grep "noarch" | uniq | tail -n1)
|
||||
fi
|
||||
if [ -z "$pkg" ]; then
|
||||
pkg=$(echo "$pkgs" | grep "any_any.noarch" | uniq | tail -n1)
|
||||
fi
|
||||
|
||||
verboseMsg " selected: $pkg"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user