Adding #passive-aggressive tag. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 7f86f696c7f76476a2d1d50f114cc5d54e5be7ba | |
parent 592fabf720c76b44fdf9fc67acc98b2380c1a2f5 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 19 May 2020 19:47:45 +0200 | |
Adding #passive-aggressive tag. | |
Diffstat: | |
M annna-add-hashtag | 9 +++++++-- | |
M modules/hashtags/hashtags.txt | 1 + | |
2 files changed, 8 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/annna-add-hashtag b/annna-add-hashtag | |
@@ -116,8 +116,13 @@ indextag() { | |
printf "%s %s %s\n" "${tag}" "${memecacheuri}" "${checksum}" >> "${mem… | |
printf "tag '%s' added as '%s' to meme index.\n" "${tag}" "${memecache… | |
- LC_ALL=C sort -t ' ' -k1,1 "${memeindex}" > "${memeindex}.sort" | |
- mv "${memeindex}.sort" "${memeindex}" | |
+ tail -n +2 "${memeindex}" | LC_ALL=C sort -t ' ' -k1,1 > "${memeindex}… | |
+ | |
+ { | |
+ printf "meme2\n" | |
+ cat "${memeindex}.sort" | |
+ } > "${memeindex}" | |
+ rm "${memeindex}.sort" | |
# keep permissions shared. | |
chown ':bitreich' "${memeindex}" | |
chmod 664 "${memeindex}" | |
diff --git a/modules/hashtags/hashtags.txt b/modules/hashtags/hashtags.txt | |
@@ -1764,6 +1764,7 @@ | |
#partition gopher://bitreich.org/I/memecache/partition.jpg | |
#party gopher://bitreich.org/9/memecache/party.webm | |
#partyanimal gopher://bitreich.org/9/memecache/partyanimal.mkv | |
+#passive-aggressive gopher://bitreich.org/I/memecache/passive-aggressive.jpg | |
#password gopher://bitreich.org/I/memecache/password.jpg | |
#pasta gopher://bitreich.org/I/memecache/pasta.jpg | |
#patch gopher://bitreich.org/I/memecache/patch.jpg |