mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
mongodb 4.2 not provided for the oldoldstable
This commit is contained in:
parent
d204e3aa7f
commit
01ec7c17b7
@ -32,7 +32,12 @@ for mgver in ${MONGO_VERSIONS[@]}; do
|
|||||||
"$apt_sync" "$BASE_URL/apt/debian" "@{debian-current}/mongodb-org/$mgver" main amd64,i386 "$DEBIAN_PATH"
|
"$apt_sync" "$BASE_URL/apt/debian" "@{debian-current}/mongodb-org/$mgver" main amd64,i386 "$DEBIAN_PATH"
|
||||||
done
|
done
|
||||||
for dist in "$BASE_URL"/apt/*/dists/*/mongodb-org/; do
|
for dist in "$BASE_URL"/apt/*/dists/*/mongodb-org/; do
|
||||||
[[ -e "${dist}/${STABLE_VERSION}" ]] && (cd "${dist}" && ln -fsn "${STABLE_VERSION}" stable)
|
stable=${STABLE_VERSION}
|
||||||
|
if [[ $dist == *"trusty"* || $dist == *"jessie"* ]]; then
|
||||||
|
# 4.2 not provided for the oldoldstable
|
||||||
|
stable=4.0
|
||||||
|
fi
|
||||||
|
[[ -e "${dist}/${stable}" ]] && (cd "${dist}" && ln -fsn "${stable}" stable)
|
||||||
done
|
done
|
||||||
echo "APT finished"
|
echo "APT finished"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user