mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-27 03:04:53 +01:00
upgrade: verify pkgbase
This commit is contained in:
@@ -296,7 +296,7 @@ else
|
||||
else
|
||||
FREEBSD_BRANCH="release"
|
||||
fi
|
||||
if [ "${NEW_MAJOR_VERSION}" -ge 16 ] || pkg -r "${bastille_jailsdir}/${TARGET}/root" -N 2>/dev/null; then
|
||||
if [ "${NEW_MAJOR_VERSION}" -ge 16 ] || pkg -r "${bastille_jailsdir}/${TARGET}/root" which /usr/bin/uname > /dev/null 2>&1; then
|
||||
PKGBASE=1
|
||||
fi
|
||||
if [ "${PKGBASE}" -eq 1 ]; then
|
||||
|
||||
Reference in New Issue
Block a user