Sfoglia il codice sorgente

addaccount redundant dir creation

tags/v3.1
Luke 6 anni fa
parent
commit
91eb7744f2
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      mutt-wizard.sh

+ 1
- 0
mutt-wizard.sh Vedi 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


Caricamento…
Annulla
Salva