diff options
author | Erich Eckner <git@eckner.net> | 2023-12-31 18:50:22 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-12-31 18:50:22 +0100 |
commit | 7e6ea96dfc13b462010f8c8842a809a562e61995 (patch) | |
tree | 456fe4dfde0e1332aace7c76955b013095cda6ef | |
parent | 8a18e3b4c4548318eb64fa633f115584a83c0da4 (diff) | |
download | hardlinkedBackups-7e6ea96dfc13b462010f8c8842a809a562e61995.tar.xz |
arch.eckner.net auch anfragen
-rwxr-xr-x | hardlinked-backup.in | 12 |
1 files 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 |