Fix the file test for FreeBSD/HBSD
This commit is contained in:
@@ -47,7 +47,7 @@ fi
|
|||||||
|
|
||||||
for _jail in ${JAILS}; do
|
for _jail in ${JAILS}; do
|
||||||
info "[${_jail}]:"
|
info "[${_jail}]:"
|
||||||
if [ -f ${_jail}/usr/sbin/pkg ]; then
|
if [ -f /usr/sbin/pkg ]; then
|
||||||
jexec -l "${_jail}" /usr/sbin/pkg "$@"
|
jexec -l "${_jail}" /usr/sbin/pkg "$@"
|
||||||
else
|
else
|
||||||
jexec -l "${_jail}" /usr/sbin/mport "$@"
|
jexec -l "${_jail}" /usr/sbin/mport "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user