--- etc-update 2004-12-29 17:50:32.000000000 +0800 +++ etc-update-new 2004-12-29 17:50:17.483950744 +0800 @@ -100,7 +100,7 @@ isfirst=${file} fi echo -n "${file}${PAR} " - if (( ${mode} == 0 )); then + if (( ${mode} == 0 )) && [[ "${show_update_files}" == "yes" ]]; then for word in `cat ${TMP}/files/${file}`; do echo ${word} done @@ -370,6 +370,7 @@ diff_command=`get_config diff_command` using_editor=`get_config using_editor` merge_command=`get_config merge_command` +show_update_files=`get_config show_update_files` declare -i mode=`get_config mode` [ -z ${mode} ] && mode=0 [ -z "${pager}" ] && pager="cat"