fix: revoke change

This commit is contained in:
Peter 2023-10-10 22:30:36 +02:00
parent 0a31fa1434
commit f9bcf970fb
No known key found for this signature in database

View file

@ -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 }}