mirror of
https://github.com/R0GGER/docker-wsusoffline.git
synced 2026-11-11 01:10:06 +01:00
https
tiny fix
This commit is contained in:
1 parent
98e4d5946f
commit
c8e8c5d4f9
1 file changed
+2
-2
@@ -7,7 +7,7 @@ if [ ! -d /temp ]; then
|
||||
mkdir /temp
|
||||
fi
|
||||
wget --timestamping --directory-prefix="static" \
|
||||
"http://download.wsusoffline.net/StaticDownloadLink-recent.txt"
|
||||
"https://download.wsusoffline.net/StaticDownloadLink-recent.txt"
|
||||
|
||||
diff --strip-trailing-cr \
|
||||
"static/StaticDownloadLink-this.txt" \
|
||||
@@ -19,7 +19,7 @@ cd /temp/
|
||||
wget -q $URL
|
||||
HASH=$(echo $URL |sed 's/\.zip/_hashes.txt/')
|
||||
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/')
|
||||
|
||||
if [[ -f $FILE ]]; then
|
||||
|
||||
Reference in new issue
Block a user