Only script files should get displayed in the command list.

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
Nic0Nic0Nii 3 years ago
parent a4eabd48a1
commit c8559996ca
  1. 2
      utils/main.sh
  2. 2
      utils/md5

@ -16,7 +16,7 @@ if [ -z "$1" ]
FILES=$(ls -1A ./$LANGUAGE/scripts 2>/dev/null | sed -e 's/\.sh$//' | sed -e 's/^/ /')
for f in $FILES
do
if [ $f != "md5" ] && [ $f != "version_info" ] && [ $f != "filelist" ]; then
if [ -f "./$LANGUAGE/scripts/$f.sh" ]; then
DESC="$(head -n1 ./$LANGUAGE/scripts/$f.sh)"
printf "\n\t%-15s%-65s" $f "${DESC:1}"
fi

@ -1,4 +1,4 @@
define.sh:cf246587e7509edd9283cb8e8e4b26cf -
main.sh:afdc55cbdd992bf2a7e21ed79a773d8f -
main.sh:d3d1bd0b56d8114eb7479964227f8576 -
search.sh:248d94cca6eeb92c384e9c49c9d0f4a9 -
.updateDirectories:0ede00461e947494545e694040787b3f -

Loading…
Cancel
Save