浏览代码

sync message only if offline

tags/v3.1
Luke Smith 5 年前
父节点
当前提交
cc4f01090f
找不到此签名对应的密钥 GPG 密钥 ID: 4C50B54A911F6252
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      mw

+ 1
- 1
mw 查看文件

@@ -216,7 +216,7 @@ finalize() { \
grep -i -m 1 spam "$tmpdir/title_boxes" | formatShortcut S spam "$title"
grep -i -m 1 junk "$tmpdir/title_boxes" | formatShortcut j junk "$title"
grep -i -m 1 archive "$tmpdir/title_boxes" | formatShortcut a archive "$title"
printf "All done.\\n\033[33mYou should now be able to run \`\033[32mmbsync $title\033[33m\` to begin to download your mail.\033[0m\\n"
[ "$accounttype" = "offline" ] && printf "All done.\\n\033[33mYou should now be able to run \`\033[32mmbsync $title\033[33m\` to begin to download your mail.\033[0m\\n"
}

confirm() { printf "Are you \033[31;1mreally\033[0m sure you want to %s?\\n\t" "$@" && read -r input && ! echo "$input" | grep -i "y\(es\)*" >/dev/null && printf "That doesn't seem like a yes to me.\\n\\n" && return 1


正在加载...
取消
保存