appdwarf/apps/mkgo

9 lines
217 B
Plaintext
Raw Normal View History

#!/bin/sh
2022-10-18 14:09:41 +00:00
. "$(dirname "$0")"/appmk
part0
2022-07-22 20:54:13 +00:00
LINK=$(curl https://go.dev/dl/ | grep -m1 linux | cut -d\" -f4)
curl -L https://go.dev/"$LINK" | tar xz -C"$DIR"/..
2022-10-18 14:09:41 +00:00
appb
2022-07-22 20:54:13 +00:00
sed -i '4i export GOPROXY=direct' "$DIR"/AppRun
2022-10-18 14:09:41 +00:00
part9