Parcourir la source

list only tpl files

Serghey Rodin il y a 9 ans
Parent
commit
b262f81555
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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 )