install_amavis.sh: inor changes to script output.

This commit is contained in:
Christoph 2022-09-21 12:17:12 +02:00
parent fb637796fc
commit f1c4604992

View File

@ -3495,6 +3495,8 @@ $(cat $tmp_err_msg)
read OK read OK
done done
[[ $OK = "yes" ]] || fatal "Abbruch durch User" [[ $OK = "yes" ]] || fatal "Abbruch durch User"
echo ""
echo ""
fi fi
echononl " Install logrotate configuration" echononl " Install logrotate configuration"
/usr/local/sbin/clamav-unofficial-sigs.sh --install-logrotate > $tmp_err_msg 2>&1 /usr/local/sbin/clamav-unofficial-sigs.sh --install-logrotate > $tmp_err_msg 2>&1
@ -3502,7 +3504,11 @@ $(cat $tmp_err_msg)
echo_ok echo_ok
else else
echo_failed echo_failed
error "$(cat $tmp_err_msg)" error "
$(cat $tmp_err_msg)
command was:
/usr/local/sbin/clamav-unofficial-sigs.sh --install-logrotate"
echononl "continue anyway [yes/no]: " echononl "continue anyway [yes/no]: "
read OK read OK
@ -3512,14 +3518,21 @@ $(cat $tmp_err_msg)
read OK read OK
done done
[[ $OK = "yes" ]] || fatal "Abbruch durch User" [[ $OK = "yes" ]] || fatal "Abbruch durch User"
echo ""
echo ""
fi fi
echononl " Install man (help) file" echononl " Install man (help) file"
/usr/local/sbin/clamav-unofficial-sigs.sh --install-man > $tmp_err_msg 2>&1 /usr/local/sbin/clamav-unofficial-sigs.sh --install-man > $tmp_err_msg 2>&1
if [[ $? -eq 0 ]] ; then if [[ $? -eq 0 ]] ; then
echo_ok echo_ok
else else
echo_failed echo_failed
error "$(cat $tmp_err_msg)" error "
$(cat $tmp_err_msg)
command was:
/usr/local/sbin/clamav-unofficial-sigs.sh --install-man"
echononl "continue anyway [yes/no]: " echononl "continue anyway [yes/no]: "
read OK read OK
@ -3529,6 +3542,8 @@ $(cat $tmp_err_msg)
read OK read OK
done done
[[ $OK = "yes" ]] || fatal "Abbruch durch User" [[ $OK = "yes" ]] || fatal "Abbruch durch User"
echo ""
echo ""
fi fi
echononl " Whitelist signature 'MBL_27966083'.." echononl " Whitelist signature 'MBL_27966083'.."
@ -3537,7 +3552,11 @@ $(cat $tmp_err_msg)
echo_ok echo_ok
else else
echo_failed echo_failed
error "$(cat $tmp_err_msg)" error "
$(cat $tmp_err_msg)
command was:
echo "MBL_27966083" >> /var/lib/clamav/my_whitelist.ign2"
echononl "continue anyway [yes/no]: " echononl "continue anyway [yes/no]: "
read OK read OK
@ -3547,6 +3566,8 @@ $(cat $tmp_err_msg)
read OK read OK
done done
[[ $OK = "yes" ]] || fatal "Abbruch durch User" [[ $OK = "yes" ]] || fatal "Abbruch durch User"
echo ""
echo ""
fi fi
@ -3557,7 +3578,11 @@ $(cat $tmp_err_msg)
echo_ok echo_ok
else else
echo_failed echo_failed
error "$(cat $tmp_err_msg)" error "
$(cat $tmp_err_msg)
command was:
/usr/local/sbin/clamav-unofficial-sigs.sh"
echononl "continue anyway [yes/no]: " echononl "continue anyway [yes/no]: "
read OK read OK
@ -3567,6 +3592,8 @@ $(cat $tmp_err_msg)
read OK read OK
done done
[[ $OK = "yes" ]] || fatal "Abbruch durch User" [[ $OK = "yes" ]] || fatal "Abbruch durch User"
echo ""
echo ""
fi fi
@ -3586,6 +3613,8 @@ $(cat $tmp_err_msg)
read OK read OK
done done
[[ $OK = "yes" ]] || fatal "Abbruch durch User" [[ $OK = "yes" ]] || fatal "Abbruch durch User"
echo ""
echo ""
fi fi
fi # if $INSTALL_CLAMAV_UNOFFICIAL_SIGS fi # if $INSTALL_CLAMAV_UNOFFICIAL_SIGS