Update: make sure that output of copying files for chroot is properly alinged

This commit is contained in:
Bojan Čekrlić 2023-02-09 10:39:51 +01:00
parent e325d45d51
commit b505a8e8ba

View file

@ -111,7 +111,8 @@ postfix_enable_chroot() {
fi
# Adapted from example Linux chroot in Postfix sources examples/chroot-setup/LINUX2
echo "Fix Postfix chroot"
info "Preparing files for Postfix chroot:"
if [[ -z "${POSTFIXD_DIR}" ]]; then
POSTFIXD_DIR=/var/spool/postfix
fi
@ -133,7 +134,7 @@ postfix_enable_chroot() {
[[ -e /etc/host.conf ]] && cp -fpv /etc/host.conf $POSTFIXD_ETC || true
[[ -e /etc/hosts ]] && cp -fpv /etc/hosts $POSTFIXD_ETC || true
[[ -e /etc/passwd ]] && cp -fpv /etc/passwd $POSTFIXD_ETC || true
)
) | sed 's/^/ /g'
}
postfix_upgrade_conf() {