diff options
-rwxr-xr-x | hardlinked-backup.in | 11 |
1 files 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 |