change curl command to fetch_url func

This commit is contained in:
Joe Eacott 2021-05-10 15:22:00 -06:00 committed by Kirill Ponomarev
parent 600d789cfb
commit 0b1c203986

View file

@ -7525,7 +7525,7 @@ install_macosx_git_deps() {
install_macosx_stable() {
install_macosx_stable_deps || return 1
/usr/bin/curl "${SALTPKGCONFURL}" > "/tmp/${PKG}" || return 1
__fetch_url "/tmp/${PKG}" "${SALTPKGCONFURL}" || return 1
/usr/sbin/installer -pkg "/tmp/${PKG}" -target / || return 1