Merge pull request #1462 from cedwards/freebsd_deps_fixup

more accurate deps parsing for FreeBSD git installs
This commit is contained in:
Pedro Algarvio 2020-05-21 20:27:51 +01:00 committed by GitHub
commit 5e9e43109d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5698,8 +5698,7 @@ install_freebsd_git_deps() {
if [ "${_POST_NEON_INSTALL}" -eq $BS_FALSE ]; then
SALT_DEPENDENCIES=$(/usr/local/sbin/pkg search -R -d py37-salt | grep 'origin:' \
| tail -n +2 | awk -F\" '{print $2}')
SALT_DEPENDENCIES=$(/usr/local/sbin/pkg rquery %dn py37-salt)
# shellcheck disable=SC2086
/usr/local/sbin/pkg install -y ${SALT_DEPENDENCIES} python || return 1