diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-07-02 19:18:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-07-02 19:18:51 -0300 |
commit | b73caeb79414ce9ae138962d0b8400b8daa4f35b (patch) | |
tree | e6fc7eb23ab0f22d0b19d3acc9327cdf477e444a | |
parent | 9dd3d1a1a585935ec51e9cd12a3a8d9d7f160970 (diff) | |
download | wrappers-b73caeb79414ce9ae138962d0b8400b8daa4f35b.tar.gz wrappers-b73caeb79414ce9ae138962d0b8400b8daa4f35b.tar.bz2 |
Check for mutt
-rwxr-xr-x | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -6,6 +6,16 @@ # Parameters BASENAME="`basename $0`" +# Check for mutt +if ! which mutt > /dev/null; then + if [ -x "/usr/bin/mail" ]; then + /usr/bin/mail + exit $? + else + exit 1 + fi +fi + # Check configuration if [ ! -e "$HOME/.custom/muttrc" ]; then mkdir -p $HOME/.custom/mutt |