commit 91eb7744f2674701a86a064954a31125fdebf005
parent 9160af5d38784a2a5a1bc853bdb04314a0b60044
Author: Luke <luke@lukesmith.xyz>
Date: Sun, 18 Feb 2018 08:24:57 -0700
addaccount redundant dir creation
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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