addaccount redundant dir creation
This commit is contained in:
parent
9160af5d38
commit
91eb7744f2
@ -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…
Reference in New Issue
Block a user