Procházet zdrojové kódy

list only tpl files

Serghey Rodin před 9 roky
rodič
revize
b262f81555
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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
 # Parsing proxy templates
 if [ ! -z "$PROXY_SYSTEM" ]; then
 if [ ! -z "$PROXY_SYSTEM" ]; then
     templates=$(ls -t $WEBTPL/$PROXY_SYSTEM |\
     templates=$(ls -t $WEBTPL/$PROXY_SYSTEM |\
+        grep ".tpl$" |\
         cut -f1 -d . |\
         cut -f1 -d . |\
         grep -v proxy_ip |\
         grep -v proxy_ip |\
         sort -u )
         sort -u )