|
|
|
@ -1,21 +1,21 @@ |
|
|
|
|
cdist-type-addifnosuchline(1) |
|
|
|
|
cdist-type__addifnosuchline(1) |
|
|
|
|
====================== |
|
|
|
|
Daniel Roth <dani-cdist--@--d-roth.li> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NAME |
|
|
|
|
---- |
|
|
|
|
cdist-type-addifnosuchline |
|
|
|
|
cdist-type__addifnosuchline - Add if no such line |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS |
|
|
|
|
-------- |
|
|
|
|
cdist-type-addifnosuchline Add if no such line |
|
|
|
|
cdist-type__addifnosuchline - Add if no such line |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION |
|
|
|
|
----------- |
|
|
|
|
cdist-type-addifnosuchline can be used to check a file for existence of a |
|
|
|
|
cdist-type__addifnosuchline - can be used to check a file for existence of a |
|
|
|
|
specific line and adding that if not found |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -36,17 +36,16 @@ EXAMPLES |
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------- |
|
|
|
|
# Creates or appends the line specifiend in "include_www" to the file "lighttpd.conf" |
|
|
|
|
|
|
|
|
|
__addifnosuchline www --file lighttpd.conf --line include_www |
|
|
|
|
|
|
|
|
|
# Adds the line "include_git" to the file "bar" |
|
|
|
|
__addifnosuchline git_web --file lighttpd.conf --line include_git |
|
|
|
|
# Adds the line "include_git" to the file "lighttpd.conf" |
|
|
|
|
__addifnosuchline lighttpd.conf --line include_git |
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
SEE ALSO |
|
|
|
|
-------- |
|
|
|
|
cdist(7) |
|
|
|
|
- cdist-type(7) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COPYING |
|
|
|
|