diff --git a/install_update_dovecot-2.4.sh b/install_update_dovecot-2.4.sh index 167c03e..4c3f467 100755 --- a/install_update_dovecot-2.4.sh +++ b/install_update_dovecot-2.4.sh @@ -3826,7 +3826,7 @@ echononl " Add /usr/local/dovecot/bin to PATH variable.." if grep -Eq '^\s*checkdir="?/usr/local/dovecot/bin"?$' "${_file}"; then echo -e "$rc_skipped" else - cp "${_file}" "/tmp/etc_profile.${backup_date}" > "${log_file}" 2<&1 + cp "${_file}" "/tmp/etc_profile.${backup_date}" > "${log_file}" 2>&1 if [[ $? -gt 0 ]] ; then echo -e "$rc_failed" error "$(cat $log_file)" @@ -3863,7 +3863,7 @@ fi echononl " Copy Manpages if not exists.." ## - Manpages ## - -if ! grep /usr/local/dovecot/share/man /etc/manpath.config > /dev/null 2<&1 ; then +if ! grep /usr/local/dovecot/share/man /etc/manpath.config > /dev/null 2>&1 ; then echo >> /etc/manpath.config echo "MANDATORY_MANPATH /usr/local/dovecot/share/man /var/cache/man" >> /etc/manpath.config echo "MANPATH_MAP /usr/local/dovecot/bin /usr/local/dovecot/share/man" >> /etc/manpath.config @@ -3893,7 +3893,7 @@ cd ${dovecot_pigeonhole_archiv_dir} echononl " Configure Pigeonhole ManageSieve.." ./configure \ --prefix=/usr/local/dovecot-${_version} \ - --with-dovecot=/usr/local/dovecot-${_version}/lib/dovecot > ${_log_dir}/${dovecot_pigeonhole_archiv_prefix}-configure.log 2<&1 + --with-dovecot=/usr/local/dovecot-${_version}/lib/dovecot > ${_log_dir}/${dovecot_pigeonhole_archiv_prefix}-configure.log 2>&1 if [ "$?" = 0 ]; then echo -e "$rc_done" else @@ -3902,7 +3902,7 @@ else fi echononl " Compile Pigeonhole ManageSieve.." -make > ${_log_dir}/${dovecot_pigeonhole_archiv_prefix}-make.log 2<&1 +make > ${_log_dir}/${dovecot_pigeonhole_archiv_prefix}-make.log 2>&1 if [ "$?" = 0 ]; then echo -e "$rc_done" else @@ -3911,7 +3911,7 @@ else fi echononl " Install Pigeonhole ManageSieve.." -make install > ${_log_dir}/${dovecot_pigeonhole_archiv_prefix}-install.log 2<&1 +make install > ${_log_dir}/${dovecot_pigeonhole_archiv_prefix}-install.log 2>&1 if [ "$?" = 0 ]; then echo -e "$rc_done" else