golang install function
parent
ff9c178611
commit
f424d8a644
|
@ -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
|
||||
}
|
Reference in New Issue