From 7e6ea96dfc13b462010f8c8842a809a562e61995 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 31 Dec 2023 18:50:22 +0100 Subject: arch.eckner.net auch anfragen --- hardlinked-backup.in | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hardlinked-backup.in b/hardlinked-backup.in index c8f271e..ab6fac0 100755 --- a/hardlinked-backup.in +++ b/hardlinked-backup.in @@ -237,7 +237,8 @@ if [ -z "${rsyncShell}" ]; then 'x86_64') for url in \ 'https://mirror.f4st.host/archlinux/pool/packages/'"${file}" \ - 'https://archive.archlinux.org/packages/'"${file:0:1}"'/'"${file%-*}"'/'"${file}"; do + 'https://archive.archlinux.org/packages/'"${file:0:1}"'/'"${file%-*}"'/'"${file}" \ + 'https://arch.eckner.net/os/'"${arch}"'/'"${file}"; do curl -Lo "${cache_file}" "${url}" || continue tar --zstd -tf "${cache_file}" >/dev/null 2>&1 && break done @@ -245,21 +246,24 @@ if [ -z "${rsyncShell}" ]; then 'i486'|'i686'|'pentium4') for url in \ 'https://mirror.archlinux32.org/pool/'"${file}" \ - 'https://archive.archlinux32.org/packages/'"${file:0:1}"'/'"${file%-*}"'/'"${file}"; do + 'https://archive.archlinux32.org/packages/'"${file:0:1}"'/'"${file%-*}"'/'"${file}" \ + 'https://arch.eckner.net/os/'"${arch}"'/'"${file}"; do curl -Lo "${cache_file}" "${url}" || continue tar --zstd -tf "${cache_file}" >/dev/null 2>&1 && break done ;; 'armv6h') for url in \ - 'http://software.is.never.null/arch/'"${arch}"'/'{extra,community,core,alarm,aur}'/'"${file}"; do + 'http://software.is.never.null/arch/'"${arch}"'/'{extra,community,core,alarm,aur}'/'"${file}" \ + 'https://arch.eckner.net/os/'"${arch}"'/'"${file}"; do curl -Lo "${cache_file}" "${url}" || continue tar --zstd -tf "${cache_file}" >/dev/null 2>&1 && break done ;; 'armv7h'|'aarch64') for url in \ - 'https://mirror.archlinuxarm.org/'"${arch}"'/'{extra,community,core,alarm,aur}'/'"${file}"; do + 'https://mirror.archlinuxarm.org/'"${arch}"'/'{extra,community,core,alarm,aur}'/'"${file}" \ + 'https://arch.eckner.net/os/'"${arch}"'/'"${file}"; do curl -Lo "${cache_file}" "${url}" || continue tar --zstd -tf "${cache_file}" >/dev/null 2>&1 && break done -- cgit v1.2.3-70-g09d2