Skip to content

Commit

Permalink
Add noble in llvm-apt.sh, remove focal from erlang.sh
Browse files Browse the repository at this point in the history
Fix tuna/issues#1948

Signed-off-by: Harry Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Apr 27, 2024
1 parent df3e175 commit eb8868d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions erlang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ 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"
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
Expand Down
2 changes: 1 addition & 1 deletion llvm-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb8868d

Please sign in to comment.