Add preliminary support for MidnightBSD.

This commit is contained in:
Lucas Holt
2021-02-26 16:55:56 -05:00
parent 3fe03807ef
commit 1710a09f6a
7 changed files with 32 additions and 1 deletions

View File

@@ -47,6 +47,10 @@ fi
for _jail in ${JAILS}; do
info "[${_jail}]:"
jexec -l "${_jail}" /usr/sbin/pkg "$@"
if [ -f ${_jail}/usr/sbin/pkg ]; then
jexec -l "${_jail}" /usr/sbin/pkg "$@"
else
jexec -l "${_jail}" /usr/sbin/mport "$@"
fi
echo
done