appdwarf/apps/mkgo

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 '5i export GOPROXY=direct' "$DIR"/AppRun
part9