install_amavis.sh: some minor changes in script output.

This commit is contained in:
Christoph 2021-12-21 01:23:32 +01:00
parent d58e67de62
commit 112cde3f7d

View File

@ -3291,7 +3291,7 @@ if $INSTALL_CLAMAV_UNOFFICIAL_SIGS ; then
echo_ok
fi
else
error "Cannot create file 'os.conf' (No Debian Version detected).
error "Cannot create file '/etc/clamav-unofficial-sigs/os.conf' (No Debian Version detected).
See file /etc/clamav-unofficial-sigs/INSTALL.md to create it manually"
echononl "continue anyway [yes/no]: "
@ -3450,7 +3450,11 @@ EOF
echo_ok
else
echo_failed
error "$(cat $tmp_err_msg)"
error "
$(cat $tmp_err_msg)
command was:
/usr/local/sbin/clamav-unofficial-sigs.sh --install-cron"
echononl "continue anyway [yes/no]: "
read OK
@ -3630,7 +3634,10 @@ for _module in $_needed_cpan_modules ; do
cpanm -q --skip-installed $_module > "$tmp_err_msg" 2>&1
if [[ "$?" -ne 0 ]] ; then
installation_failed=true
error "$(cat $tmp_err_msg)"
error "$(cat $tmp_err_msg)
command was:
cpanm -q --skip-installed $_module"
echononl "continue anyway [yes/no]: "
read OK