mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
delete out-of-date debs
This commit is contained in:
parent
25d16c4886
commit
82f8266bf1
@ -14,9 +14,9 @@ UBUNTU_PATH="${BASE_PATH}/ubuntu"
|
||||
DEBIAN_PATH="${BASE_PATH}/debian"
|
||||
|
||||
# =================== APT repos ===============================
|
||||
"$apt_sync" --delete-dry-run "${BASE_URL}/ubuntu" @ubuntu-lts contrib amd64,i386 "$UBUNTU_PATH"
|
||||
"$apt_sync" --delete "${BASE_URL}/ubuntu" @ubuntu-lts contrib amd64,i386 "$UBUNTU_PATH"
|
||||
echo "Ubuntu finished"
|
||||
"$apt_sync" --delete-dry-run "${BASE_URL}/debian" @debian-current contrib amd64,i386 "$DEBIAN_PATH"
|
||||
"$apt_sync" --delete "${BASE_URL}/debian" @debian-current contrib amd64,i386 "$DEBIAN_PATH"
|
||||
echo "Debian finished"
|
||||
|
||||
# =================== YUM repos ===============================
|
||||
|
@ -14,7 +14,7 @@ YUM_PATH="${BASE_PATH}/yum"
|
||||
APT_PATH="${BASE_PATH}/apt"
|
||||
|
||||
# =================== APT repos ===============================
|
||||
"$apt_sync" --delete-dry-run "${BASE_URL}/deb" stable,beta main amd64,armhf,arm64 "$APT_PATH"
|
||||
"$apt_sync" --delete "${BASE_URL}/deb" stable,beta main amd64,armhf,arm64 "$APT_PATH"
|
||||
echo "APT finished"
|
||||
|
||||
|
||||
|
@ -18,9 +18,9 @@ wget -O ${BASE_PATH}/influxdb.key ${BASE_URL}/influxdb.key
|
||||
|
||||
# =================== APT repos ===============================
|
||||
|
||||
"$apt_sync" --delete-dry-run "${BASE_URL}/ubuntu" @ubuntu-lts stable amd64,i386,armhf,arm64 "$UBUNTU_PATH"
|
||||
"$apt_sync" --delete "${BASE_URL}/ubuntu" @ubuntu-lts stable amd64,i386,armhf,arm64 "$UBUNTU_PATH"
|
||||
echo "Ubuntu finished"
|
||||
"$apt_sync" --delete-dry-run "${BASE_URL}/debian" @debian-current stable amd64,i386,armhf,arm64 "$DEBIAN_PATH"
|
||||
"$apt_sync" --delete "${BASE_URL}/debian" @debian-current stable amd64,i386,armhf,arm64 "$DEBIAN_PATH"
|
||||
echo "Debian finished"
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ YUM_PATH="${BASE_PATH}/yum/repos"
|
||||
APT_PATH="${BASE_PATH}/apt"
|
||||
|
||||
# =================== APT repos ===============================
|
||||
"$apt_sync" --delete-dry-run "${BASE_URL}/apt" "kubernetes-@{debian-current},kubernetes-@{ubuntu-lts}" main amd64,i386,armhf,arm64 "$APT_PATH"
|
||||
"$apt_sync" --delete "${BASE_URL}/apt" "kubernetes-@{debian-current},kubernetes-@{ubuntu-lts}" main amd64,i386,armhf,arm64 "$APT_PATH"
|
||||
echo "APT finished"
|
||||
|
||||
# =================== YUM/DNF repos ==========================
|
||||
|
2
ros2.sh
2
ros2.sh
@ -13,5 +13,5 @@ APT_PATH="${BASE_PATH}/ubuntu"
|
||||
APT_VERSIONS=@ubuntu-lts,disco,eoan,focal,@debian-current
|
||||
|
||||
# =================== APT repos ===============================
|
||||
"$apt_sync" --delete-dry-run "${BASE_URL}/ubuntu" $APT_VERSIONS main amd64,armhf,arm64 "$APT_PATH"
|
||||
"$apt_sync" --delete "${BASE_URL}/ubuntu" $APT_VERSIONS main amd64,armhf,arm64 "$APT_PATH"
|
||||
echo "APT finished"
|
||||
|
@ -19,7 +19,7 @@ components=${components:1}
|
||||
echo "YUM finished"
|
||||
|
||||
for ver in ${RUDDER_VERS[@]}; do
|
||||
"$apt_sync" --delete-dry-run "${UPSTREAM}/apt/${ver}" @ubuntu-lts,@debian-current main amd64 "$APT_PATH/${ver}"
|
||||
"$apt_sync" --delete "${UPSTREAM}/apt/${ver}" @ubuntu-lts,@debian-current main amd64 "$APT_PATH/${ver}"
|
||||
done
|
||||
echo "APT finished"
|
||||
|
||||
|
@ -23,7 +23,7 @@ echo "YUM finished"
|
||||
|
||||
# === download deb packages ====
|
||||
|
||||
"$apt_sync" --delete-dry-run "${BASE_URL}/debian" @debian-current,@ubuntu-lts contrib,non-free amd64,i386 "$APT_PATH"
|
||||
"$apt_sync" --delete "${BASE_URL}/debian" @debian-current,@ubuntu-lts contrib,non-free amd64,i386 "$APT_PATH"
|
||||
echo "Debian and ubuntu finished"
|
||||
|
||||
# === download standalone packages ====
|
||||
|
Loading…
x
Reference in New Issue
Block a user