From c1bee0d96f60515bfb716e434da0cf3b2626b496 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 18 Nov 2021 22:40:42 +0100 Subject: [mod] filtron.sh - install github.com/searxng/filtron SearXNG maintains a fork of filtron at [1] [1] https://github.com/searxng/filtron Related: https://github.com/searxng/searxng/issues/507#issuecomment-970254027 Signed-off-by: Markus Heiser --- utils/filtron.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/filtron.sh b/utils/filtron.sh index ff380a327..8ad32a319 100755 --- a/utils/filtron.sh +++ b/utils/filtron.sh @@ -348,13 +348,13 @@ filtron_is_installed() { install_filtron() { rst_title "Install filtron in user's ~/go-apps" section echo - go.install github.com/asciimoo/filtron@latest "${SERVICE_USER}" + go.install github.com/searxng/filtron@latest "${SERVICE_USER}" } update_filtron() { rst_title "Update filtron" section echo - go.install github.com/asciimoo/filtron@latest "${SERVICE_USER}" + go.install github.com/searxng/filtron@latest "${SERVICE_USER}" } install_rules() { -- cgit v1.2.3 From 93e933278af4ce929a0bbcb35e1fdacdd6b899c1 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 21 Nov 2021 15:41:26 +0100 Subject: [fix] filtron.sh & morty.sh: quote "$GO_ENV" Signed-off-by: Markus Heiser --- utils/filtron.sh | 3 ++- utils/morty.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/filtron.sh b/utils/filtron.sh index 8ad32a319..2536214e4 100755 --- a/utils/filtron.sh +++ b/utils/filtron.sh @@ -337,7 +337,8 @@ EOF echo "export SERVICE_HOME=$SERVICE_HOME" tee_stderr <> ~/.profile +touch "$GO_ENV" +grep -qFs -- 'source "$GO_ENV"' ~/.profile || echo 'source "$GO_ENV"' >> ~/.profile EOF } diff --git a/utils/morty.sh b/utils/morty.sh index c1f2bc968..25263a3d4 100755 --- a/utils/morty.sh +++ b/utils/morty.sh @@ -337,7 +337,8 @@ EOF echo "export SERVICE_HOME=$SERVICE_HOME" tee_stderr <> ~/.profile +touch $GO_ENV +grep -qFs -- 'source "$GO_ENV"' ~/.profile || echo 'source "$GO_ENV"' >> ~/.profile EOF } -- cgit v1.2.3