mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Merge pull request #1462 from cedwards/freebsd_deps_fixup
more accurate deps parsing for FreeBSD git installs
This commit is contained in:
commit
5e9e43109d
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue