diff --git a/install_update_dovecot.sh b/install_update_dovecot.sh index ecef959..00afbf0 100755 --- a/install_update_dovecot.sh +++ b/install_update_dovecot.sh @@ -735,6 +735,17 @@ else fatal Configuring dovecot failed fi +## - Compile dovecot +## - +echononl "\tCompile Dovecot Sources.." +make > ${_log_dir}/dovecot-${_version}-make.log 2>&1 || clean_up 1 +if [ "$?" = 0 ]; then + echo -e "$rc_done" +else + echo -e "$rc_failed" + fatal Compiling dovecot failed +fi + ## ----------------- ## --- Stop dovecot if running @@ -756,17 +767,6 @@ else echo -e "$rc_skipped" fi -## - Compile dovecot -## - -echononl "\tCompile Dovecot Sources.." -make > ${_log_dir}/dovecot-${_version}-make.log 2>&1 || clean_up 1 -if [ "$?" = 0 ]; then - echo -e "$rc_done" -else - echo -e "$rc_failed" - fatal Compiling dovecot failed -fi - ## - Install dovecot ## - echononl "\tInstall Dovecot into Folder /usr/local/dovecot-${_version}"