Ver a proveniência

yes fix

tags/v3.1
Luke Smith há 5 anos
ascendente
cometimento
09c4bf1b86
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4C50B54A911F6252
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      mw

+ 1
- 1
mw Ver ficheiro

@@ -219,7 +219,7 @@ finalize() { \
[ "$accounttype" = "offline" ] && printf "All done.\\n\033[33mYou should now be able to run \`\033[32mmbsync %s\033[33m\` to begin to download your mail.\033[0m\\n" "$title"
}

confirm() { printf "Do you want to to %s?\\n\t" "$@" && read -r input && ! echo "$input" | grep -i "^y$\|^yes$ ">/dev/null && printf "That doesn't seem like a yes to me.\\n\\n" && return 1
confirm() { printf "Do you want to to %s?\\n\t" "$@" && read -r input && ! echo "$input" | grep -i "^y$\|^yes$" >/dev/null && printf "That doesn't seem like a yes to me.\\n\\n" && return 1
printf "Are you really, really sure you want to %s?\\n\t" "$@" && read -r input && ! echo "$input" | grep -i "^y$\|^yes$" >/dev/null && printf "That doesn't seem like a yes to me.\\n\\n" && return 1
return 0 ;}



Carregando…
Cancelar
Guardar