diff options
Diffstat (limited to 'hardlinked-backup.in')
-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 |