chore: do not show red warnings

This commit is contained in:
Huo Linhe 2023-04-10 17:44:44 +08:00
parent 0dd1721e57
commit fc370bfdcd
1 changed files with 0 additions and 1 deletions

View File

@ -576,7 +576,6 @@ function install_share_etc() {
for c in `ls ${script_dir}/share/etc/`; do for c in `ls ${script_dir}/share/etc/`; do
if [ -e /etc/$c ]; then if [ -e /etc/$c ]; then
out=/etc/$c.new.`date +%F` out=/etc/$c.new.`date +%F`
echo -e -n "${RED} /etc/$c exists, save a new cfg file as $out"
${csudo}cp -f ${script_dir}/share/etc/$c $out ${csudo}cp -f ${script_dir}/share/etc/$c $out
else else
${csudo}cp -f ${script_dir}/share/etc/$c /etc/$c ${csudo}cp -f ${script_dir}/share/etc/$c /etc/$c