mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Merge pull request #518 from eshagh/bsd-update
Make -U work for FreeBSD
This commit is contained in:
commit
cc92f06034
1 changed files with 4 additions and 0 deletions
|
@ -3626,6 +3626,10 @@ install_freebsd_9_stable_deps() {
|
|||
/usr/local/sbin/pkg install ${SALT_PKG_FLAGS} -y ${_EXTRA_PACKAGES} || return 1
|
||||
fi
|
||||
|
||||
if [ "$_UPGRADE_SYS" -eq $BS_TRUE ]; then
|
||||
pkg upgrade -y || return 1
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue