upgrade: use pkgbase if jail is pkgbasified

This commit is contained in:
tschettervictor
2025-12-02 15:24:20 -05:00
committed by GitHub
parent db35e961fb
commit 6f0e33fe9b

View File

@@ -122,7 +122,7 @@ thick_jail_check() {
else
FREEBSD_BRANCH="release"
fi
if [ "${NEW_MAJOR_VERSION}" -ge 16 ] || pkg -r "${bastille_jailsdir}/${TARGET}/root" which /usr/bin/uname > /dev/null 2>&1; then
if pkg -r "${bastille_jailsdir}/${TARGET}/root" which /usr/bin/uname > /dev/null 2>&1; then
PKGBASE=1
fi
@@ -438,4 +438,4 @@ case ${NEW_RELEASE} in
fi
fi
;;
esac
esac