diff options
-rwxr-xr-x | bin/etc-update | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/etc-update b/bin/etc-update index ff1378f63..cb58d13f1 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -227,7 +227,8 @@ read_int() { } do_file() { - echo + interactive_echo() { [ "${OVERWRITE_ALL}" != "yes" ] && [ "${DELETE_ALL}" != "yes" ] && echo; } + interactive_echo local -i my_input local -i fcount=0 until (( $(wc -l < ${TMP}/files/${input}) < 2 )); do @@ -296,7 +297,7 @@ do_file() { break fi done - echo + interactive_echo rm ${TMP}/files/${input} count=${count}-1 } |