Группа :: Безопасность/Сети
Пакет: fiaif
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: fiaif-1.19.2-alt-fiaif_update.patch
--- prog/fiaif-update.orig
+++ prog/fiaif-update
@@ -83,7 +83,7 @@
echo "New version of $(basename ${ORIG_FILE}) found."
diff ${DIFF_OPTIONS} ${ORIG_FILE} ${NEW_FILE}
if (( VERBOSE == 1 )); then
- while [[ "${ANS}" != @(Y|y|N|n) ]]; do
+ while [[ ("${ANS}" != "Y") && ("${ANS}" != "y") && ("${ANS}" != "N") && ("${ANS}" != "n") ]]; do
read -p "Update $(basename ${ORIG_FILE}) to version ${NEW_VERSION} (y|n)" ANS
done
else