瀏覽代碼

list only tpl files

Serghey Rodin 9 年之前
父節點
當前提交
b262f81555
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 )