Add ability to bypass externals with OFFLINE=1
This commit is contained in:
parent
09f92289cf
commit
ae2ec14d46
2 changed files with 12 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
|||
# executable bool false Add executable_ attribute to file
|
||||
# path string none Path to file in archive
|
||||
|
||||
{{- if not (env "OFFLINE") -}}
|
||||
|
||||
{{ $defaultRefresh := "168h" -}}
|
||||
{{- $externals := dict -}}
|
||||
|
||||
|
@ -118,3 +120,7 @@
|
|||
url: "https://github.com/neovim/neovim/releases/download/stable/nvim-linux-x86_64.appimage"
|
||||
executable: true
|
||||
refreshPeriod: "{{ $defaultRefresh }}"
|
||||
|
||||
{{- else -}}
|
||||
# .chezmoiexternal is disabled because OFFLINE env is defined
|
||||
{{- end -}}
|
Loading…
Add table
Add a link
Reference in a new issue