From 3084f9c67f3b0861f6cea8c06e21aef821f83908 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 14 Apr 2015 15:52:04 -0300 Subject: Check for other files and folders --- mail | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mail') 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 -- cgit v1.2.3