Adding #passive-aggressive tag. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 7f86f696c7f76476a2d1d50f114cc5d54e5be7ba
(DIR) parent 592fabf720c76b44fdf9fc67acc98b2380c1a2f5
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
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(-)
---
(DIR) diff --git a/annna-add-hashtag b/annna-add-hashtag
@@ -116,8 +116,13 @@ indextag() {
printf "%s %s %s\n" "${tag}" "${memecacheuri}" "${checksum}" >> "${memeindex}"
printf "tag '%s' added as '%s' to meme index.\n" "${tag}" "${memecacheuri}" >&2
- 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}.sort"
+
+ {
+ printf "meme2\n"
+ cat "${memeindex}.sort"
+ } > "${memeindex}"
+ rm "${memeindex}.sort"
# keep permissions shared.
chown ':bitreich' "${memeindex}"
chmod 664 "${memeindex}"
(DIR) 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