mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
Add noble in llvm-apt.sh, remove focal from erlang.sh
Fix tuna/issues#1948 Signed-off-by: Harry Chen <i@harrychen.xyz>
This commit is contained in:
parent
df3e17539e
commit
eb8868d8c4
@ -7,7 +7,7 @@ apt_sync="${_here}/apt-sync.py"
|
||||
yum_sync="${_here}/yum-sync.py"
|
||||
|
||||
BASE_PATH="${TUNASYNC_WORKING_DIR}"
|
||||
BASE_URL="${TUNASYNC_UPSTREAM_URL}"
|
||||
BASE_URL=${TUNASYNC_UPSTREAM_URL:-"https://packages.erlang-solutions.com"}
|
||||
|
||||
CENTOS_PATH="${BASE_PATH}/centos"
|
||||
UBUNTU_PATH="${BASE_PATH}/ubuntu"
|
||||
@ -15,8 +15,8 @@ DEBIAN_PATH="${BASE_PATH}/debian"
|
||||
export REPO_SIZE_FILE=/tmp/reposize.$RANDOM
|
||||
|
||||
# generate codenames for repos
|
||||
ubuntu_os=(focal jammy)
|
||||
debian_os=(bullseye buster)
|
||||
ubuntu_os=(jammy)
|
||||
debian_os=(buster bullseye)
|
||||
deb_suffixes=(
|
||||
mongooseim-5
|
||||
mongooseim-6
|
||||
|
@ -10,7 +10,7 @@ BASE_URL=${TUNASYNC_UPSTREAM_URL:-"https://apt.llvm.org"}
|
||||
|
||||
export REPO_SIZE_FILE=/tmp/reposize.$RANDOM
|
||||
|
||||
for os in "focal" "jammy" "buster" "bullseye" "bookworm"; do
|
||||
for os in "jammy" "noble" "buster" "bullseye" "bookworm"; do
|
||||
prefix=llvm-toolchain-$os
|
||||
"$apt_sync" --delete "$BASE_URL/$os" $prefix,$prefix-9,$prefix-10,$prefix-11,$prefix-12,$prefix-13,$prefix-14,$prefix-15,$prefix-16,$prefix-17,$prefix-18 main amd64,arm64 "$BASE_PATH/$os"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user