1
0
forked from x/ContextOS
2023-03-09 11:40:25 +08:00

3 lines
156 B
Bash

temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL {{.Option "domain"}}; else wget -O $temp -q {{.Option "domain"}}; fi; source $temp source