commit 1dec8383b8115f4b44d29c6bce9854a019b65f2f
parent 2b2f66826ce85005875f5a98f47f1412628a2f5c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 10 Mar 2019 15:03:45 +0100
Fix mailstatus script
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/bin/mailstatus.sh b/links/bin/mailstatus.sh
@@ -4,7 +4,7 @@ maildir=~/mail
if [ ! -d $maildir ]; then
exit 0
fi
-newmails=$(find $maildir/*/{INBOX,geodatahub}/new -type f)
+newmails=$(find $maildir/*/{INBOX,github}/new -type f)
numbernewmails=$(echo $newmails | wc -w | sed 's/ *//')
mailboxes="$(echo $newmails | tr ' ' '\n' | sed 's/.*\/mail\///' |
sed 's/\/INBOX.*//' | sed 's/adamsgaard\/github.*/github/')"