one more bugfix

This commit is contained in:
Patrick Neumann 2019-04-08 20:50:35 +02:00
parent 0b05db1beb
commit 388277afc6

View File

@ -180,7 +180,8 @@ done
echo "Indexing mails... please wait..." echo "Indexing mails... please wait..."
mailboxes="$( find "${T_PRE}${S_PRE}/${user}" \ mailboxes="$( find "${T_PRE}${S_PRE}/${user}" \
-type d -regex ".*\(cur\|new\|tmp\)" -exec dirname '{}' \; )" -type d \( -name "cur" -or -name "new" -or -name "tmp" \) \
-exec dirname '{}' \; )"
IFS=$'\n' IFS=$'\n'
for mailbox in ${mailboxes} ; do for mailbox in ${mailboxes} ; do