Home
Fix irc.bitreich.org and changes in the lawn. - gopher-lawn - The gopher lawn gopher directory project. HTML git clone git://bitreich.org/gopher-lawn/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-lawn/ DIR Log DIR Files DIR Refs DIR Tags --- DIR commit 0c2f6536ab6d390d8cb8ff43bafc664ae67b571b DIR parent eeef9f1678409716e11cf239486e4f1e9505fed5 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 13 Jun 2021 18:48:22 +0200 Fix irc.bitreich.org and changes in the lawn. Diffstat: M index.gph.tmpl | 2 +- M lawn-update | 9 ++++----- M submit.dcgi | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) --- DIR diff --git a/index.gph.tmpl b/index.gph.tmpl @@ -26,7 +26,7 @@ _____[[ P_R_O_J_E_C_T ]] _____[[ P_R_O_P_O_S_E__A__L_I_N_K ]] You want to propose a link or your own website? Either go on -#bitreich-lawn on freenode IRC or use the following link. +#bitreich-lawn on bitreich IRC or use the following link. [1|Proposal menu.|/lawn/submit.dcgi|server|port] DIR diff --git a/lawn-update b/lawn-update @@ -8,6 +8,9 @@ lawnindex="${lawnbase}/index.gph" scmbase="/scm" tmpfile=$(mktemp) +cd ${lawnbase} +./mk-all -u 2>&1 >/dev/null + cd "${lawnbase}" linkcount="$(cd db; grep -r "LinkName" | wc -l)" @@ -27,11 +30,7 @@ cd "${lawngit}" printf "/C_H_A_N_G_E_S/+1,/P_R_O_J_E_C_T/-2d\n" printf "/C_H_A_N_G_E_S/r !cat ${tmpfile}\n" printf "w\nq\n" -} | ed -s "${lawnindex}" +} | ed -s "${lawnindex}" >/dev/null rm -f "${tmpfile}" -cd ${lawnbase} -./mk-all -u 2>&1 >/dev/null - - DIR diff --git a/submit.dcgi b/submit.dcgi @@ -19,14 +19,14 @@ if [ -z "${search}" ]; then printf "Please enter the link to propose for the lawn.\n" printf "[7|Gopher Lawn Submission|/lawn/submit.dcgi|server|port]\n" - printf "This will post the link to irc://irc.freenode.net/#bitreich-lawn\n" + printf "This will post the link to irc://irc.bitreich.org/#bitreich-lawn\n" else /home/annna/bin/annna-say -c "#bitreich-lawn" \ "new link proposed: ${search}" printf "Entry submitted\n" printf "\n" - printf "Join #bitreich-lawn at irc.freenode.net to talk about it.\n" + printf "Join #bitreich-lawn at irc.bitreich.org to talk about it.\n" printf "\n" printf "Here is what we already have from that same domain:\n" ./search.sh "|${domain}|"