From 85544c388f58a8548ffabe73e545f6dc32e6c484 Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 3 Sep 2021 22:32:02 +0200 Subject: [PATCH] install_postfixadmin.sh: fix error installing 'database related CPAN Module'. --- install_postfixadmin.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_postfixadmin.sh b/install_postfixadmin.sh index b12fb23..48838ea 100755 --- a/install_postfixadmin.sh +++ b/install_postfixadmin.sh @@ -701,7 +701,8 @@ fi for _module in $_needed_cpan_modules ; do cpanm -q --skip-installed $_module >> "$log_file" 2>&1 if [[ "$?" -ne 0 ]] ; then - error "$(cat $tmp_err_msg)" + cpanm -q --skip-installed --force $_module >> "$log_file" 2>&1 + [[ "$?" -ne 0 ]] && _failed=true fi done if $_failed ; then