apacheconfig -K: support de plus de patterns pour le fichier modèle
This commit is contained in:
parent
ab4148c0ac
commit
37a2dce795
|
@ -254,13 +254,13 @@ elif [ "$action" == new-site ]; then
|
|||
ssltempl=
|
||||
certstempl=
|
||||
wwwtempl=
|
||||
array_from_lines templs "$(list_files "$templdir" "*SITE.conf")"
|
||||
array_from_lines templs "$(list_files "$templdir" "*SITE*.conf")"
|
||||
[ ${#templs[*]} -gt 0 ] && clrtempl="${templs[0]}"
|
||||
array_from_lines templs "$(list_files "$templdir" "*SITE.ssl.conf")"
|
||||
array_from_lines templs "$(list_files "$templdir" "*SITE*.ssl.conf")"
|
||||
[ ${#templs[*]} -gt 0 ] && ssltempl="${templs[0]}"
|
||||
array_from_lines templs "$(list_files "$templdir" "*SITE-certs.conf")"
|
||||
array_from_lines templs "$(list_files "$templdir" "*SITE*-certs.conf")"
|
||||
[ ${#templs[*]} -gt 0 ] && certstempl="${templs[0]}"
|
||||
array_from_lines templs "$(list_dirs "$templdir" "*SITE")"
|
||||
array_from_lines templs "$(list_dirs "$templdir" "*SITE*")"
|
||||
[ ${#templs[*]} -gt 0 ] && wwwtempl="${templs[0]}"
|
||||
|
||||
found=
|
||||
|
|
Loading…
Reference in New Issue