Merge pull request #518 from eshagh/bsd-update

Make -U work for FreeBSD
This commit is contained in:
Pedro Algarvio 2014-12-24 01:53:04 +00:00
commit cc92f06034

View file

@ -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
}