mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
feat(aa): update templates to last changes.
This commit is contained in:
parent
944f9575a0
commit
7317c05646
3 changed files with 8 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
{{- if .IsLineRule }}
|
{{- if .IsLineRule }}
|
||||||
{{- "#" -}}
|
{{- "#" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- " #" -}}
|
{{- " #" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .FileInherit -}}
|
{{- if .FileInherit -}}
|
||||||
{{- " file_inherit" -}}
|
{{- " file_inherit" -}}
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
{{ " -> " }}{{ . }}
|
{{ " -> " }}{{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- "," -}}
|
{{- "," -}}
|
||||||
|
{{- with .Suffix -}}
|
||||||
|
{{ . }}
|
||||||
|
{{- end -}}
|
||||||
{{- template "comment" . -}}
|
{{- template "comment" . -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
@ -37,5 +40,8 @@
|
||||||
{{ "-> " }}{{ . }}
|
{{ "-> " }}{{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- "," -}}
|
{{- "," -}}
|
||||||
|
{{- with .Suffix -}}
|
||||||
|
{{ . }}
|
||||||
|
{{- end -}}
|
||||||
{{- template "comment" . -}}
|
{{- template "comment" . -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
{{- continue -}}
|
{{- continue -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if eq $kind "comment" -}}
|
{{- if eq $kind "comment" -}}
|
||||||
|
{{- indent "" -}}
|
||||||
{{- template "comment" . -}}
|
{{- template "comment" . -}}
|
||||||
{{- "\n" -}}
|
{{- "\n" -}}
|
||||||
{{- continue -}}
|
{{- continue -}}
|
||||||
|
|
Loading…
Reference in a new issue