diff --git a/systemd.org b/systemd.org index 9741e47..7999508 100644 --- a/systemd.org +++ b/systemd.org @@ -129,27 +129,23 @@ done # Count number of mails gmail_old="$(ls ~/.mail/gmail/Inbox/new | wc -l)" esrf_old="$(ls ~/.mail/esrf/Inbox/new | wc -l)" -ulg_old="$(ls ~/.mail/ulg/Inbox/new | wc -l)" -uliege_old="$(ls ~/.mail/uliege/Inbox/new | wc -l)" # ============================================================= # ============================================================= # Retreive mails -mbsync $opt_all $opt_verbose gmail-Home esrf-Home ulg-Home uliege-Home 2>/tmp/mbsync.log +mbsync $opt_all $opt_verbose gmail-Home esrf-Home 2>/tmp/mbsync.log # ============================================================= # ============================================================= # Count number of mails gmail_new="$(ls ~/.mail/gmail/Inbox/new | wc -l)" esrf_new="$(ls ~/.mail/esrf/Inbox/new | wc -l)" -ulg_new="$(ls ~/.mail/ulg/Inbox/new | wc -l)" -uliege_new="$(ls ~/.mail/uliege/Inbox/new | wc -l)" # ============================================================= # ============================================================= # Total Number of new mails since last checking -new="$(($gmail_new+$esrf_new+$ulg_new+$uliege_new))" -old="$(($gmail_old+$esrf_old+$ulg_old+$uliege_old))" +new="$(($esrf_new+$gmail_new))" +old="$(($esrf_old+$gmail_old))" # ============================================================= # =============================================================