mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-25 02:05:11 +01:00
upgrade: use pkgbase if jail is pkgbasified
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user