aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-04-14 15:52:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-04-14 15:52:04 -0300
commit3084f9c67f3b0861f6cea8c06e21aef821f83908 (patch)
tree39cd5535fe47d3aeefdc383a805dc719f3d8ec63 /mail
parent769e115a01f5bd373046275e65a41da52c05fcec (diff)
downloadwrappers-3084f9c67f3b0861f6cea8c06e21aef821f83908.tar.gz
wrappers-3084f9c67f3b0861f6cea8c06e21aef821f83908.tar.bz2
Check for other files and folders
Diffstat (limited to 'mail')
-rwxr-xr-xmail8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail b/mail
index 21cfc43..776f9f4 100755
--- a/mail
+++ b/mail
@@ -8,8 +8,14 @@ BASENAME="`basename $0`"
# Check configuration
if [ ! -e "$HOME/.custom/muttrc" ]; then
- mkdir -p $HOME/.custom
+ mkdir -p $HOME/.custom/mutt
touch $HOME/.custom/muttrc
+ touch $HOME/.custom/mutt/aliases
+fi
+
+# Check INBOX
+if [ ! -e "$HOME/mail/INBOX" ]; then
+ mkdir -p $HOME/mail/INBOX/{cur,new,tmp}
fi
# Dispatch