install_postfixadmin.sh: fix error installing 'database related CPAN Module'.
This commit is contained in:
parent
249837373c
commit
85544c388f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user