Introduction
Introduction Statistics Contact Development Disclaimer Help
Adding #gopher-officer tag. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 16ccef2c5fe25ab9947421647200541446dd2500
parent c08cdcb74bf0ea3ba987483cc61592b29cd08a6c
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 7 Apr 2024 22:21:44 +0200
Adding #gopher-officer tag.
Diffstat:
M annna-message-common | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -92,8 +92,11 @@ case "${text}" in
then
host="$(printf "%s\n" "${uri}" \
| sed 's,.*://\([^/]*\).*,\1,')"
- uri="$(printf "%s\n" "${uri}" \
- | sed "s,${host},youtube.com,")"
+ if [ -n "${host}" ];
+ then
+ uri="$(printf "%s\n" "${uri}" \
+ | sed "s,${host},youtube.com,")"
+ fi
fi
tmpf=$(mktemp)
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.