| Adding #argh tag. - annna - Annna the nice friendly bot. | |
| git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| --- | |
| commit dd3ae28d5681fe12d0debaab54145733cdb25a85 | |
| parent 6915773ebfd94c8834cc535b543248d54c230c59 | |
| Author: Annna Robert-Houdin <[email protected]> | |
| Date: Sat, 15 Nov 2025 21:41:10 +0100 | |
| Adding #argh tag. | |
| Diffstat: | |
| M annna-add-hashtag | 6 +++--- | |
| M modules/hashtags/hashtags.txt | 2 +- | |
| 2 files changed, 4 insertions(+), 4 deletions(-) | |
| --- | |
| diff --git a/annna-add-hashtag b/annna-add-hashtag | |
| @@ -283,7 +283,7 @@ processtag() { | |
| uri="$2" | |
| cd "${memecachedir}" | |
| - tagfile="$(basename "$(find . -maxdepth 0 -name "${stag}.*" | grep -v … | |
| + tagfile="$(basename "$(find . -maxdepth 1 -name "${stag}.*" | grep -v … | |
| # In case youtube-dl mangled with the extension, rename to what file | |
| # suggests us as ending. | |
| @@ -331,7 +331,7 @@ inserttag() { | |
| stag="$(printf "${tag}\n" | cut -c 2-)" | |
| cd "${memecachedir}" | |
| - tagfile="$(basename "$(find . -maxdepth 0 -name "${stag}.*" | grep -v … | |
| + tagfile="$(basename "$(find . -maxdepth 1 -name "${stag}.*" | grep -v … | |
| tagtype="$(get-tagtype "${tagfile}")" | |
| memecacheuri="gophers://bitreich.org/${tagtype}/memecache/${tagfile}" | |
| @@ -357,7 +357,7 @@ indextag() { | |
| stag="$(printf "${tag}\n" | cut -c 2-)" | |
| cd "${memecachedir}" | |
| - tagfile="$(basename "$(find . -maxdepth 0 -name "${stag}.*" | grep -v … | |
| + tagfile="$(basename "$(find . -maxdepth 1 -name "${stag}.*" | grep -v … | |
| checksum="$(sha512sum "${tagfile}" | cut -d' ' -f 1)" | |
| tagtype="$(get-tagtype "${tagfile}")" | |
| memecacheuri="gophers://bitreich.org/${tagtype}/memecache/${tagfile}" | |
| diff --git a/modules/hashtags/hashtags.txt b/modules/hashtags/hashtags.txt | |
| @@ -1553,7 +1553,7 @@ | |
| #argentinian-nuns gophers://bitreich.org/9/memecache/argentinian-nuns.mp4 | |
| #argentinian-provinces gophers://bitreich.org/I/memecache/argentinian-province… | |
| #argentinian-superiority gophers://bitreich.org/I/memecache/argentinian-superi… | |
| -#argh gophers://bitreich.org/9/memecache/ | |
| +#argh gophers://bitreich.org/9/memecache/argh.mp4 | |
| #argue gophers://bitreich.org/9/memecache/argue.mkv | |
| #argue-service gophers://bitreich.org/9/memecache/argue-service.mkv | |
| #argument gophers://bitreich.org/9/memecache/argument.mp4 |