diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-30 00:27:21 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-30 00:27:21 +0900 |
| commit | 01edd88c7728da84841d8df9519cbf0b862ebf6a (patch) | |
| tree | 88368de875f5ee75eaae936bc1a70dd89548827e | |
| parent | b747029e078f4295a795b39668a2ba1a437c99c5 (diff) | |
modified bin/mw
| -rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ basicdir() { contents="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/;s/'/\\\'/g" | paste -sd ' ' -)" for mailacc in "$accdir/"*.muttrc; do acc="${mailacc##*/}" - [ -f "$acc" ] && grep -q "mailboxes" "$acc" && sed -i "s/mailboxes.*/$contents/g" "$mailacc" 2>/dev/null && + [ -f "$mailacc" ] && grep -q "mailboxes" "$mailacc" && sed -i "s/mailboxes.*/$contents/g" "$mailacc" 2>/dev/null && for dir in $maildirs; do mkdir -p "$maildir/${acc%.*}/$dir" done |
