mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
simpler non-jq dependent solution for FreeBSD dependencies
This commit is contained in:
parent
e974f6c88c
commit
f3bca5127a
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue