Fix new gopherpedia replacement. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 27fceecf711fb8a4138be9cecf55de0d886c7e1d DIR parent e2bec909ca2e0c93b87a29373cab51fae11ecaf6 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Fri, 8 May 2020 20:27:58 +0200 Fix new gopherpedia replacement. Diffstat: M annna-start-services | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/annna-start-services b/annna-start-services @@ -137,9 +137,10 @@ then ;; *en.wikipedia.org/wiki*) if ! regeximatch "$uri" '\.(jpg,bmp,gif,png,tiff,avi,mp4,webm,mkv,pdf,ps,eps)$'; then - nurl="$(printf '%s\n' "${uri}" | sed "s;.*en.wikipedia.org/wiki;gopher://gopherpedia.com/${type};")" + nurl="$(printf '%s\n' "${uri}" | sed "s;.*en.wikipedia.org/wiki;gopher://gopherpedia.com/0;")" annna-say -c '#bitreich-en' "gopherpedia: ${nurl}" fi + ;; *) spurl="" ;;