Fix check hashtags to work for gopher and gophers. - annna - Annna the nice fri… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 32ebbd00f1b033b5c9e2b0ca9fccbca54014ee39 | |
parent c8eac191309d880d36c0f7f8ef2a5d6241a9a956 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 2 Jan 2023 06:39:36 +0100 | |
Fix check hashtags to work for gopher and gophers. | |
Diffstat: | |
M annna-check-hashtags | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-check-hashtags b/annna-check-hashtags | |
@@ -7,7 +7,7 @@ status=0 | |
while read -r tag url | |
do | |
- file="${memebase}/${url#gopher://bitreich.org/*/memecache/}" | |
+ file="${memebase}/${url#*://bitreich.org/*/memecache/}" | |
if ! test -f "$file" | |
then | |
printf 'invalid: %s %s %s\n' "$tag" "$url" "$file" |