From 8c4a9f07fe5547ee51fbbf4fb919a6b50c97c312 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Jul 2006 21:47:47 +0000 Subject: Fix broken if/elif statement. svn path=/main/trunk/; revision=3972 --- bin/etc-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/etc-update b/bin/etc-update index 8e2cf51b6..a421d973a 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -272,9 +272,9 @@ function do_cfg() { local -i my_input=0 until (( ${my_input} == -1 )) || [ ! -f ${file} ]; do - if [[ "${OVERWRITE_ALL}" == "yes" && ! user_special ${ofile} ]]; then + if [[ "${OVERWRITE_ALL}" == "yes" ]] && ! user_special "${ofile}"; then my_input=1 - elif [[ "${DELETE_ALL}" == "yes" && ! user_special ${ofile} ]]; then + elif [[ "${DELETE_ALL}" == "yes" ]] && ! user_special "${ofile}"; then my_input=2 else showdiffcmd=$(echo "${diff_command}" | -- cgit v1.2.3-1-g7c22