diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-16 18:00:47 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-16 18:00:47 +0100 |
commit | abd5eee3922b18a25ba59bb5a5d59a969ab5deb9 (patch) | |
tree | f9fe7c8ac5bf52b92c34802df168b512043a2976 /manage | |
parent | 646db5d4f942b4c4da4a62f38b159bd80b7f9db1 (diff) | |
download | searxng-abd5eee3922b18a25ba59bb5a5d59a969ab5deb9.tar.gz searxng-abd5eee3922b18a25ba59bb5a5d59a969ab5deb9.zip |
[mod] Tools to install and maintain golang [1] binaries & packages.
[1] https://golang.org/doc/devel/release#policy
A simple *helloworld* test with user 'my_user' :
sudo -H adduser my_user
./manage go.golang go1.17.3 my_user
./manage go.install github.com/go-training/helloworld@latest my_user
./manage go.bash my_user
$ helloword
Hello World!!
Don't forget to remove 'my_user': sudo -H deluser --remove-home my_user
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,6 +9,9 @@ source "$(dirname "${BASH_SOURCE[0]}")/utils/lib.sh" # shellcheck source=utils/lib_static.sh source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_static.sh" +# shellcheck source=utils/lib_go.sh +source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_go.sh" + # config PYOBJECTS="searx" @@ -91,6 +94,7 @@ themes.: pygments.: less : build LESS files for pygments EOF + go.help static_help } |