Include hidden files in checks

main
sigonasr2, Sig, Sigo 3 years ago
parent b162d94489
commit d202f63bb7
  1. 2
      install
  2. 2
      utils/main.sh
  3. 5
      utils/md5
  4. 4
      utils/search.sh

@ -0,0 +1,2 @@
echo "Initializing..."
FILES=$(ls -dA */)

@ -13,7 +13,7 @@ if [ -z "$1" ]
echo ""
echo ""
echo " Command List:"
FILES=$(ls -1 ./scripts | sed -e 's/\.sh$//' | sed -e 's/^/ /')
FILES=$(ls -1A ./scripts | sed -e 's/\.sh$//' | sed -e 's/^/ /')
for f in $FILES
do
if [ $f != "md5" ]; then

@ -1,3 +1,4 @@
d6b20a25a04a60d94f466e48fa60ac69 -
548480c89fb8d6668a83ee9e534eb2dd -
dda3ebea2ba8b958aede5076472d774b -
32a1f953ffca8584d1eb57c0ecd8a582 -
13e14229619562047b230081a9e0b4ce -
0ede00461e947494545e694040787b3f -

@ -1,5 +1,5 @@
function search() {
FILES2=$(ls $1)
FILES2=$(ls -A $1)
for g in $FILES2
do
if [ -d $1$g ];
@ -19,7 +19,7 @@ function search() {
function check() {
echo "Check $1"
FILES2=$(ls $1)
FILES2=$(ls -A $1)
if [ -f "$1/md5" ];
then
echo " md5: https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5"

Loading…
Cancel
Save