Skip to content

Commit 207cfeb

Browse files
committed
Scan only folders
Issues in drop down caused by scanning all files with new tools + original
1 parent e840dd9 commit 207cfeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-list-sys-languages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ csv_list() {
6262
#----------------------------------------------------------#
6363

6464
# Defining language list
65-
languages=$(ls $HESTIA/web/locale |cut -f 1 -d .)
65+
languages=$(ls -d $HESTIA/web/locale/*/ |awk -F'/' '{print $(NF-1)}')
6666

6767
# Listing data
6868
case $format in

0 commit comments

Comments
 (0)