diff --git a/utils/md5 b/utils/md5 index d3d6b59..768f3fb 100644 --- a/utils/md5 +++ b/utils/md5 @@ -1,3 +1,3 @@ 5e7a21b710475f173906085c01bd2205 - 548480c89fb8d6668a83ee9e534eb2dd - -779fe40a9c39138048d635e6ad0b3c20 - +876c9372db6d232cae42b516b2b2596f - diff --git a/utils/search.sh b/utils/search.sh index 7dcde7e..a477997 100644 --- a/utils/search.sh +++ b/utils/search.sh @@ -41,7 +41,12 @@ function check() { else if [ "$REDOWNLOAD" = "true" ]; then echo "++Redownload $1$g..." - curl https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output $1$g + if [ -f "$1$g" ]; then + curl https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output $1$g + else + echo "===Could not find directory, assuming regular scripts directory exists." + curl https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output scripts/$g + fi fi fi done