Преглед изворни кода

Fix usages of mail/mails

Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
pull/1000/head
Jonas Dujava пре 3 месеци
родитељ
комит
8e35e474c5
No known key found for this signature in database GPG Key ID: D5CBC3FB28EFFD99
1 измењених фајлова са 3 додато и 3 уклоњено
  1. +3
    -3
      bin/mailsync

+ 3
- 3
bin/mailsync Прегледај датотеку

@@ -63,11 +63,11 @@ syncandnotify() {
newcount=$(echo "$new" | sed '/^\s*$/d' | wc -l)
case 1 in
$((newcount > 5)) )
echo "$newcount new mail for $2."
[ -z "$MAILSYNC_MUTE" ] && notify "New Mail!" "📬 $newcount new mail(s) in \`$2\` account."
echo "$newcount new mails for $2."
[ -z "$MAILSYNC_MUTE" ] && notify "New Mail!" "📬 $newcount new mails in \`$2\` account."
;;
$((newcount > 0)) )
echo "$newcount new mail for $2."
echo "$newcount new mail(s) for $2."
[ -z "$MAILSYNC_MUTE" ] &&
for file in $new; do
# Extract and decode subject and sender from mail.


Loading…
Откажи
Сачувај