Browse Source

addaccount redundant dir creation

tags/v3.1
Luke 6 years ago
parent
commit
91eb7744f2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mutt-wizard.sh

+ 1
- 0
mutt-wizard.sh View File

@@ -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


Loading…
Cancel
Save