simpler non-jq dependent solution for FreeBSD dependencies

This commit is contained in:
Christer Edwards 2020-05-20 14:39:25 -06:00
parent e974f6c88c
commit f3bca5127a

View file

@ -5698,11 +5698,7 @@ install_freebsd_git_deps() {
if [ "${_POST_NEON_INSTALL}" -eq $BS_FALSE ]; then
if ! __check_command_exists jq; then
/usr/local/sbin/pkg install -y jq || return 1
fi
SALT_DEPENDENCIES=$(/usr/local/sbin/pkg search -R -d --raw-format json py37-salt | jq -r '.deps|keys[]')
SALT_DEPENDENCIES=$(/usr/local/sbin/pkg rquery %dn py37-salt)
# shellcheck disable=SC2086
/usr/local/sbin/pkg install -y ${SALT_DEPENDENCIES} python || return 1