From 56b64c680417b7727e4168431b2b5168383bf27c Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Tue, 17 May 2022 18:26:51 +0000 Subject: [PATCH] Remove extra hashes --- utils/md5 | 2 +- utils/search.sh | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/utils/md5 b/utils/md5 index 8f44108..9667d68 100644 --- a/utils/md5 +++ b/utils/md5 @@ -1,3 +1,3 @@ a137a2465efff1c5c1ac2e59ccddb20b - 548480c89fb8d6668a83ee9e534eb2dd - -e2414fa0ac4594be9c2002aa6e98ebb6 - +96a6812a735b48efe890a65c344bdf33 - diff --git a/utils/search.sh b/utils/search.sh index 7130c91..448ef9f 100644 --- a/utils/search.sh +++ b/utils/search.sh @@ -19,8 +19,8 @@ function check() { MD5_EXISTS=false if [ -f "$1/md5" ]; then - MD5_EXISTS=true - echo " md5: $MD5_EXISTS" + echo " md5: $MD5_EXISTS - https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5" + curl -s https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5 fi for g in $FILES2 do @@ -28,10 +28,6 @@ function check() { then echo "$1$g is a directory" check $1$g/ - else - if [ "$MD5_EXISTS" = true ]; then - md5hash < curl -s https://raw.githubusercontent.com/sigonasr2/SigScript/main/sig - fi fi done } \ No newline at end of file