tiny fix
This commit is contained in:
R0GGER authored and GitHub committed 2020-08-14 20:46:13 +02:00
1 parent 98e4d5946f
commit c8e8c5d4f9
1 file changed
+2 -2
+2 -2
View File
@@ -7,7 +7,7 @@ if [ ! -d /temp ]; then
mkdir /temp mkdir /temp
fi fi
wget --timestamping --directory-prefix="static" \ wget --timestamping --directory-prefix="static" \
"http://download.wsusoffline.net/StaticDownloadLink-recent.txt" "https://download.wsusoffline.net/StaticDownloadLink-recent.txt"
diff --strip-trailing-cr \ diff --strip-trailing-cr \
"static/StaticDownloadLink-this.txt" \ "static/StaticDownloadLink-this.txt" \
@@ -19,7 +19,7 @@ cd /temp/
wget -q $URL wget -q $URL
HASH=$(echo $URL |sed 's/\.zip/_hashes.txt/') HASH=$(echo $URL |sed 's/\.zip/_hashes.txt/')
wget -q $HASH wget -q $HASH
FILE=$(echo $URL |sed 's/http:\/\/download.wsusoffline.net\///') FILE=$(echo $URL |sed 's/https:\/\/download.wsusoffline.net\///')
HASH=$(echo $FILE|sed 's/\.zip/_hashes.txt/') HASH=$(echo $FILE|sed 's/\.zip/_hashes.txt/')
if [[ -f $FILE ]]; then if [[ -f $FILE ]]; then