瀏覽代碼
Revert "allow dynamically loading available mailboxes"
This reverts commit 2cb2fa0345
.
tags/v3.3
Luke Smith
3 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4C50B54A911F6252
共有
1 個檔案被更改,包括
1 行新增 和
1 行删除
-
bin/mw
|
|
@@ -226,7 +226,7 @@ getboxes() { if [ -n "${force+x}" ] ; then |
|
|
|
idnum=$((idnum + 1)) |
|
|
|
[ "$idnum" -eq "$x" ] || break |
|
|
|
done |
|
|
|
toappend="mailboxes \`mdir=$maildir/$fulladdr/; find \$mdir -mindepth 1 -type d -name cur | sed -e 's:/cur\$:\":' -e \"s:\$mdir:\\\"=:\" | sort | tr '\\\n' ' '\`" |
|
|
|
toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' - )" |
|
|
|
} |
|
|
|
|
|
|
|
finalize() { echo "$toappend" >> "$accdir/$fulladdr.muttrc" |
|
|
|