diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 15:55:43 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 15:55:43 +0200 |
commit | fcbee37431eef7ee7230e20a3e466ce2cedac2d6 (patch) | |
tree | af6cba284f3f62ec66982db39390214212a3e0f6 /odin | |
parent | 05c5b0ef5ed9788da072c0738bd14548037ccea1 (diff) | |
download | nixos-fcbee37431eef7ee7230e20a3e466ce2cedac2d6.tar nixos-fcbee37431eef7ee7230e20a3e466ce2cedac2d6.tar.gz nixos-fcbee37431eef7ee7230e20a3e466ce2cedac2d6.tar.bz2 nixos-fcbee37431eef7ee7230e20a3e466ce2cedac2d6.tar.xz nixos-fcbee37431eef7ee7230e20a3e466ce2cedac2d6.zip |
…
Diffstat (limited to 'odin')
-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 | ||