From 8a18e3b4c4548318eb64fa633f115584a83c0da4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 31 Dec 2023 18:50:07 +0100 Subject: armv6h liegt woanders --- hardlinked-backup.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/hardlinked-backup.in b/hardlinked-backup.in index d5c76e2..c8f271e 100755 --- a/hardlinked-backup.in +++ b/hardlinked-backup.in @@ -250,9 +250,16 @@ if [ -z "${rsyncShell}" ]; then tar --zstd -tf "${cache_file}" >/dev/null 2>&1 && break done ;; - *) + 'armv6h') for url in \ - 'https://mirror.archlinux.org/'"${arch}"'/'{extra,community,core,alarm,aur}'/'"${file}"; do + 'http://software.is.never.null/arch/'"${arch}"'/'{extra,community,core,alarm,aur}'/'"${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 curl -Lo "${cache_file}" "${url}" || continue tar --zstd -tf "${cache_file}" >/dev/null 2>&1 && break done -- cgit v1.2.3-70-g09d2