diff options
Diffstat (limited to 'odin/strm')
| -rw-r--r-- | odin/strm/cleanup_youtube | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odin/strm/cleanup_youtube b/odin/strm/cleanup_youtube index 02a5b327..06574adb 100644 --- a/odin/strm/cleanup_youtube +++ b/odin/strm/cleanup_youtube | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #!@zsh@/bin/zsh | 1 | #!@zsh@/bin/zsh |
| 2 | 2 | ||
| 3 | set -e | ||
| 4 | |||
| 3 | function notmuch { | 5 | function notmuch { |
| 4 | while true; do | 6 | while true; do |
| 5 | result=$(env NOTMUCH_CONFIG=${HOME}/.notmuch-rss-config @notmuch@/bin/notmuch "$@" 2>&1) | 7 | result=$(env NOTMUCH_CONFIG=${HOME}/.notmuch-rss-config @notmuch@/bin/notmuch "$@" 2>&1) |
| @@ -50,3 +52,5 @@ notmuch search --output=messages --format=text 'is:cached' | \ | |||
| 50 | done | 52 | done |
| 51 | 53 | ||
| 52 | [[ -n "${tagFile}" ]] && notmuch tag --batch --input=${tagFile} | 54 | [[ -n "${tagFile}" ]] && notmuch tag --batch --input=${tagFile} |
| 55 | |||
| 56 | exit 0 | ||
