From 37a2dce795ea2a9c57a6cc7c2aa0e61afa4c2a67 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 17 Mar 2017 20:41:34 +0400 Subject: [PATCH] =?UTF-8?q?apacheconfig=20-K:=20support=20de=20plus=20de?= =?UTF-8?q?=20patterns=20pour=20le=20fichier=20mod=C3=A8le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apacheconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apacheconfig b/apacheconfig index 4003776..3795e2a 100755 --- a/apacheconfig +++ b/apacheconfig @@ -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=