mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 12:36:28 +00:00
show packages to be deleted in mongodb and mysql
This commit is contained in:
parent
a63e6304be
commit
5b57ea3d14
@ -27,10 +27,11 @@ done
|
|||||||
popd
|
popd
|
||||||
echo "YUM finished"
|
echo "YUM finished"
|
||||||
|
|
||||||
for mgver in ${MONGO_VERSIONS[@]}; do
|
components=$(printf ",@{ubuntu-lts}/mongodb-org/%s" "${MONGO_VERSIONS[@]}")
|
||||||
"$apt_sync" "$BASE_URL/apt/ubuntu" "@{ubuntu-lts}/mongodb-org/$mgver" multiverse amd64,i386 "$UBUNTU_PATH"
|
"$apt_sync" --delete-dry-run "$BASE_URL/apt/ubuntu" "${components:1}" multiverse amd64,i386 "$UBUNTU_PATH"
|
||||||
"$apt_sync" "$BASE_URL/apt/debian" "@{debian-current}/mongodb-org/$mgver" main amd64,i386 "$DEBIAN_PATH"
|
components=$(printf ",@{debian-current}/mongodb-org/%s" "${MONGO_VERSIONS[@]}")
|
||||||
done
|
"$apt_sync" --delete-dry-run "$BASE_URL/apt/debian" "${components:1}" main amd64,i386 "$DEBIAN_PATH"
|
||||||
|
|
||||||
for dist in "$BASE_URL"/apt/*/dists/*/mongodb-org/; do
|
for dist in "$BASE_URL"/apt/*/dists/*/mongodb-org/; do
|
||||||
stable=${STABLE_VERSION}
|
stable=${STABLE_VERSION}
|
||||||
if [[ $dist == *"trusty"* || $dist == *"jessie"* ]]; then
|
if [[ $dist == *"trusty"* || $dist == *"jessie"* ]]; then
|
||||||
|
4
mysql.sh
4
mysql.sh
@ -27,9 +27,9 @@ mkdir -p ${YUM_PATH} ${UBUNTU_PATH} ${DEBIAN_PATH}
|
|||||||
|
|
||||||
# =================== APT repos ===============================
|
# =================== APT repos ===============================
|
||||||
MYSQL_APT_REPOS="mysql-5.6,mysql-5.7,mysql-tools,connector-python-2.1,mysql-8.0"
|
MYSQL_APT_REPOS="mysql-5.6,mysql-5.7,mysql-tools,connector-python-2.1,mysql-8.0"
|
||||||
"$apt_sync" "${BASE_URL}/apt/ubuntu" @ubuntu-lts $MYSQL_APT_REPOS amd64,i386 "${UBUNTU_PATH}"
|
"$apt_sync" --delete-dry-run "${BASE_URL}/apt/ubuntu" @ubuntu-lts $MYSQL_APT_REPOS amd64,i386 "${UBUNTU_PATH}"
|
||||||
echo "Ubuntu finished"
|
echo "Ubuntu finished"
|
||||||
"$apt_sync" "${BASE_URL}/apt/debian" @debian-current $MYSQL_APT_REPOS amd64,i386 "${DEBIAN_PATH}"
|
"$apt_sync" --delete-dry-run "${BASE_URL}/apt/debian" @debian-current $MYSQL_APT_REPOS amd64,i386 "${DEBIAN_PATH}"
|
||||||
echo "Debian finished"
|
echo "Debian finished"
|
||||||
|
|
||||||
# =================== YUM/DNF repos ==========================
|
# =================== YUM/DNF repos ==========================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user