From 029c6feceac8f08de95ab2efe708b7715ee5fbf5 Mon Sep 17 00:00:00 2001 From: Nic0Nic0Nii Date: Mon, 23 May 2022 18:01:11 +0000 Subject: [PATCH] oops, invalidated all systems Co-authored-by: sigonasr2 --- utils/md5 | 2 +- utils/search.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/md5 b/utils/md5 index ed1cce5..0dd7654 100644 --- a/utils/md5 +++ b/utils/md5 @@ -1,5 +1,5 @@ .coauthors:3785ad38663e5fc43e574914ad067294 - define.sh:74ea08fb12cab1053663f87007ddd29a - main.sh:eacf0984141d284db6681dee4dc39ffa - -search.sh:0e54450c506bedf1d73666156fa78e1a - +search.sh:24f4dabbe09354a0446e031ab3afe830 - .updateDirectories:0ede00461e947494545e694040787b3f - diff --git a/utils/search.sh b/utils/search.sh index 0d971a8..96b8681 100644 --- a/utils/search.sh +++ b/utils/search.sh @@ -24,7 +24,7 @@ function check() { if [ -f "$1/md5" ]; then echo " md5: https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5" - curl -H 'Cache-Control: no-cache, no-store' -s "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5/?$(date +%s)" --output /tmp/out + curl -H 'Cache-Control: no-cache, no-store' -s "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5" --output /tmp/out cmp -s $1/md5 /tmp/out if [ "$?" -ne 0 ] then @@ -41,15 +41,15 @@ function check() { if [ "$g" != ".coauthors" ]; 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/?$(date +%s)" --output $1$g + curl -H 'Cache-Control: no-cache, no-store' "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g" --output $1$g else echo "===Could not find directory, assuming regular scripts directory exists." - curl -H 'Cache-Control: no-cache, no-store' "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g/?$(date +%s)" --output $LANGUAGE/scripts/$g + curl -H 'Cache-Control: no-cache, no-store' "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g" --output $LANGUAGE/scripts/$g fi fi else echo "++==Downloading $1$g..." - curl -H 'Cache-Control: no-cache, no-store' "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g/?$(date +%s)" --output $1$g + curl -H 'Cache-Control: no-cache, no-store' "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g" --output $1$g fi fi done < /tmp/out