mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
refactor
This commit is contained in:
parent
9d412b49c4
commit
048962c1e0
@ -11,9 +11,8 @@ BASE_URL=${TUNASYNC_UPSTREAM_URL:-"https://apt.llvm.org"}
|
|||||||
export REPO_SIZE_FILE=/tmp/reposize.$RANDOM
|
export REPO_SIZE_FILE=/tmp/reposize.$RANDOM
|
||||||
|
|
||||||
for os in "xenial" "bionic" "focal" "stretch" "buster"; do
|
for os in "xenial" "bionic" "focal" "stretch" "buster"; do
|
||||||
for ver in "" "-9" "-10"; do
|
prefix=llvm-toolchain-$os
|
||||||
"$apt_sync" --delete "$BASE_URL/$os" llvm-toolchain-$os$ver main amd64 "$BASE_PATH/$os"
|
"$apt_sync" --delete "$BASE_URL/$os" $prefix,$prefix-9,$prefix-10 main amd64 "$BASE_PATH/$os"
|
||||||
done
|
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "APT finished"
|
echo "APT finished"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user