Include version_info as a configuration file

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
Nic0Nic0Nii 3 years ago
parent 792b9ea483
commit e88f982bcd
  1. 2
      utils/main.sh
  2. 4
      utils/md5
  3. 2
      utils/search.sh

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

@ -1,5 +1,5 @@
.coauthors:3785ad38663e5fc43e574914ad067294 -
define.sh:74ea08fb12cab1053663f87007ddd29a -
main.sh:eacf0984141d284db6681dee4dc39ffa -
search.sh:24f4dabbe09354a0446e031ab3afe830 -
main.sh:909d8d53e71c87a4b5f0f5da9fa6baa2 -
search.sh:16d0a1eebbe03202019c7575d27ec3e1 -
.updateDirectories:0ede00461e947494545e694040787b3f -

@ -38,7 +38,7 @@ function check() {
if [ "$g" != "md5" ]; then
if [ -f $1$g ];
then
if [ "$g" != ".coauthors" ]; then
if [ "$g" != ".coauthors" ] && [ "$g" != "version_info" ]; then
echo "++Redownload $1$g..."
if [ -f "$1$g" ]; then
curl -H 'Cache-Control: no-cache, no-store' "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g" --output $1$g

Loading…
Cancel
Save