common: add chroot-style 'ethereal'

This commit is contained in:
maxice8 2019-02-26 17:23:11 -03:00 committed by maxice8
parent 62aaae3978
commit fadca94b98
4 changed files with 144 additions and 1 deletions

View file

@ -577,7 +577,7 @@ if [ -n "${NO_COLOR+x}" ]; then
fi
chroot_check() {
if [ -f $XBPS_MASTERDIR/.xbps_chroot_init ]; then
if [ -f $XBPS_MASTERDIR/.xbps_chroot_init -o "$XBPS_CHROOT_CMD" = "ethereal" ]; then
export CHROOT_READY=1
fi
}