From 91eb7744f2674701a86a064954a31125fdebf005 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 18 Feb 2018 08:24:57 -0700 Subject: [PATCH] addaccount redundant dir creation --- mutt-wizard.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/mutt-wizard.sh b/mutt-wizard.sh index 559c19d..62917dd 100755 --- a/mutt-wizard.sh +++ b/mutt-wizard.sh @@ -147,6 +147,7 @@ addAccount() { # Creating the offlineimaprc if it doesn't exist already. if [ ! -f ~/.offlineimaprc ]; then cp "$muttdir"autoconf/offlineimap_header ~/.offlineimaprc; fi cat "$muttdir"autoconf/offlineimap_profile | sed -e "$replacement" >> ~/.offlineimaprc + mkdir -p ~/.mail/$title # Add the mutt profile. cat "$muttdir"autoconf/mutt_profile | sed -e "$replacement" > "$muttdir"accounts/$title.muttrc