fix: revoke change
This commit is contained in:
parent
0a31fa1434
commit
f9bcf970fb
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@
|
|||
{{- if eq .chezmoi.os "darwin" }}
|
||||
brew install go
|
||||
{{- else if eq .chezmoi.os "linux" }}
|
||||
{{ if ne .chezmoi.uid "0" }} sudo {{ end -}}rm -rf /usr/local/go || {{ if ne .chezmoi.uid "0" }} sudo {{ end -}}mkdir -p /usr/local/go && curl -L https://go.dev/dl/{{ (gitHubLatestTag "golang/go").Tag }}.linux-{{ .chezmoi.arch }}.tar.gz | {{ if ne .chezmoi.uid "0" }} sudo {{ end -}}tar -xz -C /usr/local/
|
||||
{{ if ne .chezmoi.uid "0" }} sudo {{ end -}}rm -rf /usr/local/go || {{ if ne .chezmoi.uid "0" }} sudo {{ end -}}mkdir -p /usr/local/go && curl -L https://go.dev/dl/{{ (gitHubLatestTag "golang/go").Name }}.linux-{{ .chezmoi.arch }}.tar.gz | {{ if ne .chezmoi.uid "0" }} sudo {{ end -}}tar -xz -C /usr/local/
|
||||
{{- end }}
|
||||
{{- end }}
|
Loading…
Reference in a new issue