Up.
This commit is contained in:
parent
9968e850c3
commit
ac364679ca
@ -4,9 +4,6 @@ email = {{ promptString "Git main email address " "" | quote }}
|
|||||||
{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int }}
|
{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int }}
|
||||||
{{- if gt $count 0 -}}
|
{{- if gt $count 0 -}}
|
||||||
|
|
||||||
[[data.mbsync]]
|
|
||||||
activate = true
|
|
||||||
|
|
||||||
{{- range $i, $e := until $count }}
|
{{- range $i, $e := until $count }}
|
||||||
[[data.mbsync]]
|
[[data.mbsync]]
|
||||||
name = {{ promptString "MbSync account name " | quote }}
|
name = {{ promptString "MbSync account name " | quote }}
|
||||||
@ -18,7 +15,6 @@ host = {{ promptString "MbSync account host " | quote }}
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
||||||
[[data.mbsync]]
|
[[data.mbsync]]
|
||||||
activate = false
|
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -24,8 +24,8 @@ BufferLimit 100M
|
|||||||
# #
|
# #
|
||||||
##########################
|
##########################
|
||||||
|
|
||||||
{{ if .mbsync.activate }}
|
{{ if .mbsync }}
|
||||||
{{ range $value := .mbsync[1:] }}
|
{{ range $value := .mbsync }}
|
||||||
|
|
||||||
# {{ $value.name }}
|
# {{ $value.name }}
|
||||||
#-------------------------
|
#-------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user