list only tpl files

This commit is contained in:
Serghey Rodin 2016-11-25 12:29:41 +02:00
parent d93a769b9d
commit b262f81555

View file

@ -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 )