From f424d8a644daae385b066107dcb778f12a1a829a Mon Sep 17 00:00:00 2001 From: "kebler.net" Date: Sat, 20 Nov 2021 18:21:59 -0800 Subject: [PATCH] golang install function --- giskard/function/golang | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 giskard/function/golang diff --git a/giskard/function/golang b/giskard/function/golang new file mode 100644 index 0000000..42f16ec --- /dev/null +++ b/giskard/function/golang @@ -0,0 +1,10 @@ +#!/bin/bash +module_load golang-install +module_load acl +# echo loaded golang func +golang() { +golang_install -e m +if [[ $? -eq 0 ]]; then + share_dir -w -o sysadmin -g users /opt/go sysadmin david + fi +}