Only script files should get displayed in the command list.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
a4eabd48a1
commit
c8559996ca
@ -16,7 +16,7 @@ if [ -z "$1" ]
|
|||||||
FILES=$(ls -1A ./$LANGUAGE/scripts 2>/dev/null | sed -e 's/\.sh$//' | sed -e 's/^/ /')
|
FILES=$(ls -1A ./$LANGUAGE/scripts 2>/dev/null | sed -e 's/\.sh$//' | sed -e 's/^/ /')
|
||||||
for f in $FILES
|
for f in $FILES
|
||||||
do
|
do
|
||||||
if [ $f != "md5" ] && [ $f != "version_info" ] && [ $f != "filelist" ]; then
|
if [ -f "./$LANGUAGE/scripts/$f.sh" ]; then
|
||||||
DESC="$(head -n1 ./$LANGUAGE/scripts/$f.sh)"
|
DESC="$(head -n1 ./$LANGUAGE/scripts/$f.sh)"
|
||||||
printf "\n\t%-15s%-65s" $f "${DESC:1}"
|
printf "\n\t%-15s%-65s" $f "${DESC:1}"
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
define.sh:cf246587e7509edd9283cb8e8e4b26cf -
|
define.sh:cf246587e7509edd9283cb8e8e4b26cf -
|
||||||
main.sh:afdc55cbdd992bf2a7e21ed79a773d8f -
|
main.sh:d3d1bd0b56d8114eb7479964227f8576 -
|
||||||
search.sh:248d94cca6eeb92c384e9c49c9d0f4a9 -
|
search.sh:248d94cca6eeb92c384e9c49c9d0f4a9 -
|
||||||
.updateDirectories:0ede00461e947494545e694040787b3f -
|
.updateDirectories:0ede00461e947494545e694040787b3f -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user