Home
Fix bored.dcgi for new db layout. - 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 aa11f2c7f0c3d92013b95196aaf9be48ab267a50 DIR parent f4e5eb91b00a8a104596a4dcb75b059bec1d043a HTML Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 28 Aug 2020 13:13:45 +0200 Fix bored.dcgi for new db layout. Diffstat: M bitreich-lawn-random-link | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/bitreich-lawn-random-link b/bitreich-lawn-random-link @@ -3,7 +3,7 @@ # Thanks to parazyd for the idea! # -_f="$(find /br/gopher/lawn/*/ -name 'index.gph' | shuf -n1)" +_f="$(find /br/gopher/lawn/c/ | shuf -n1)" _u="$(grep '^\[[0-9a-zA-Z]\{1\}|.*\]' $_f | head -n-1 | shuf -n1)" _af="$(printf "%s\n" "$_u" | sed 's,|server|port\],|bitreich.org|70\],g')"