2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Add conditional for sesh path in sudo.conf manual.

This commit is contained in:
Todd C. Miller 2019-08-27 08:09:28 -06:00
parent 62bb4aa630
commit eb95a35edc
2 changed files with 16 additions and 0 deletions

View File

@ -29,6 +29,7 @@ doc/schema.OpenLDAP
doc/schema.iPlanet
doc/schema.olcSudo
doc/sudo.conf.man.in
doc/sudo.conf.man.in.sed
doc/sudo.conf.mdoc.in
doc/sudo.man.in
doc/sudo.man.in.sed

15
doc/sudo.conf.man.in.sed Normal file
View File

@ -0,0 +1,15 @@
s/^\(.TH .*\)/.nr SL @SEMAN@\
\1/
/^\.TP 10n$/ {
N
/^.TP 10n\nsesh$/ {
i\
.if \\n(SL \\{\\
}
}
/^\\fI@sesh_file@\\fR\.$/ {
a\
.\\}
}