We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff3f12 commit c68563aCopy full SHA for c68563a
update.sh
@@ -30,12 +30,9 @@ declare -A dpkgArchToBashbrew=(
30
[s390x]='s390x'
31
)
32
33
-# https://github.com/mkevenaar/chocolatey-packages/blob/8c38398f695e86c55793ee9d61f4e541a25ce0be/automatic/mongodb.install/update.ps1#L15-L31
34
communityVersions="$(
35
- curl -fsSL 'https://www.mongodb.com/download-center/community' \
36
- | grep -oiE '"server-data">window[.]__serverData = {(.+?)}<' \
37
- | cut -d= -f2- | cut -d'<' -f1 \
38
- | jq -c '.community.versions[]'
+ curl -fsSL 'http://downloads.mongodb.org.s3.amazonaws.com/current.json' \
+ | jq -c '.versions[]'
39
)"
40
41
for version in "${versions[@]}"; do
0 commit comments