浏览代码

Provide a sane error message in case dialog is not installed

(cherry picked from commit ea233da43a)
tags/v3.1
Daniel Frank 6 年前
父节点
当前提交
de65a15b04
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      mutt-wizard.sh

+ 1
- 0
mutt-wizard.sh 查看文件

@@ -257,5 +257,6 @@ $(grep ~/.offlineimaprc -e "^accounts =" | sed 's/accounts =//g')
5) inventory && for i in $userchoices; do removeAccount $i ; done;;
6) (dialog --defaultno --title "Wipe all custom neomutt/offlineIMAP settings?" --yesno "Would you like to wipe all of the mutt/offlineIMAP settings generated by the system?" 6 60 && wipe) ;;
7) clear && break ;;
*) echo "Unable to read response from dialog. Exiting." >&2; exit 2
esac
done

正在加载...
取消
保存