Explorar el Código

list only tpl files

Serghey Rodin hace 9 años
padre
commit
b262f81555
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      bin/v-list-web-templates-proxy

+ 1 - 0
bin/v-list-web-templates-proxy

@@ -64,6 +64,7 @@ csv_list() {
 # Parsing proxy templates
 if [ ! -z "$PROXY_SYSTEM" ]; then
     templates=$(ls -t $WEBTPL/$PROXY_SYSTEM |\
+        grep ".tpl$" |\
         cut -f1 -d . |\
         grep -v proxy_ip |\
         sort -u )