Update SigScript to include hidden files in checks

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

@ -13,7 +13,7 @@ if [ -z "$1" ]
echo "" echo ""
echo "" echo ""
echo " Command List:" 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 for f in $FILES
do do
if [ $f != "md5" ]; then if [ $f != "md5" ]; then

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

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

Loading…
Cancel
Save