summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-06-09 20:36:00 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-06-09 20:36:00 +0200
commitdc637663c59dd0f57d0c13d091d5e33cf0b2e490 (patch)
tree58f14f175f4822b476fdd71eead0d0d669fae620
parentb500ccf1a88375371330e11675701a4a07b59d4f (diff)
downloadnixos-dc637663c59dd0f57d0c13d091d5e33cf0b2e490.tar
nixos-dc637663c59dd0f57d0c13d091d5e33cf0b2e490.tar.gz
nixos-dc637663c59dd0f57d0c13d091d5e33cf0b2e490.tar.bz2
nixos-dc637663c59dd0f57d0c13d091d5e33cf0b2e490.tar.xz
nixos-dc637663c59dd0f57d0c13d091d5e33cf0b2e490.zip
fix formatting
-rw-r--r--odin/strm/download_youtube2
1 files changed, 1 insertions, 1 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube
index 3f578371..05a8374d 100644
--- a/odin/strm/download_youtube
+++ b/odin/strm/download_youtube
@@ -315,7 +315,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
315 done 315 done
316 awk -v "link=http://odin.asgard.yggdrasil/${relUrl}" '{ if (r == 0) { r = gsub("href=\"[^\"]+\"", "href=\"" link "\""); }; print; }' "${message}" >! $tmpFile 316 awk -v "link=http://odin.asgard.yggdrasil/${relUrl}" '{ if (r == 0) { r = gsub("href=\"[^\"]+\"", "href=\"" link "\""); }; print; }' "${message}" >! $tmpFile
317 mv -v $tmpFile $message 317 mv -v $tmpFile $message
318 notmuch tag '+cached' -- $msgId && printf "Tagged ā€˜%sā€™ as 'cached'" ${msgId} 318 notmuch tag '+cached' -- $msgId && printf "Tagged ā€˜%sā€™ as 'cached'\n" ${msgId}
319 319
320 if [[ -n "$(notmuch search "tag:inbox AND $msgId")" ]]; then 320 if [[ -n "$(notmuch search "tag:inbox AND $msgId")" ]]; then
321 if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then 321 if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then