mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
changed fragments to .sh extension
This commit is contained in:
12
fragments/labels/golang.sh
Normal file
12
fragments/labels/golang.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
golang)
|
||||
# credit: Søren Theilgaard (@theilgaard)
|
||||
name="GoLang"
|
||||
type="pkg"
|
||||
packageID="org.golang.go"
|
||||
downloadURL="$(curl -fsIL "https://golang.org$(curl -fs "https://golang.org/dl/" | grep -i "downloadBox" | grep "pkg" | tr '"' '
|
||||
' | grep "pkg")" | grep -i "^location" | awk '{print $2}' | tr -d '
|
||||
')"
|
||||
appNewVersion="$( echo "${downloadURL}" | sed -E 's/.*\/(go[0-9.]*)\..*/\1/g' )" # Version includes letters "go"
|
||||
expectedTeamID="EQHXZ8M8AV"
|
||||
blockingProcesses=( NONE )
|
||||
;;
|
||||
Reference in New Issue
Block a user