redundant quotation marks removed

This commit is contained in:
Luke Smith 2019-03-31 15:34:01 -04:00
parent 8b30d99552
commit 6ab753aba3
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

2
mw
View File

@ -196,7 +196,7 @@ ssl_version = tls1_2"
echo "$offlineimap_profile" >> "$HOME/.config/offlineimap/config"
sed -i "s/^accounts =.*[a-zA-Z]$/&, $title/g;s/^accounts =\\s*$/accounts = $title/g" "$HOME/.config/offlineimap/config"
fi
echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source \"$muttdir\"/accounts/$title.muttrc<enter><change-folder>!<enter>;<check-stats>'" >> "$muttdir/personal.muttrc"
echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source $accdir/$title.muttrc<enter><change-folder>!<enter>;<check-stats>'" >> "$muttdir/personal.muttrc"
! grep "^source.*.muttrc" "$muttdir/personal.muttrc" >/dev/null && echo "source $accdir/$title.muttrc" >> "$muttdir/personal.muttrc"
trysync && finalize
}