appdwarf/apps/mkgo
2022-10-18 10:20:16 -04:00

9 lines
217 B
Bash
Executable file

#!/bin/sh
. "$(dirname "$0")"/appmk
part0
LINK=$(curl https://go.dev/dl/ | grep -m1 linux | cut -d\" -f4)
curl -L https://go.dev/"$LINK" | tar xz -C"$DIR"/..
appb
sed -i '4i export GOPROXY=direct' "$DIR"/AppRun
part9