diff options
author | Erich Eckner <git@eckner.net> | 2023-12-31 18:50:07 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-12-31 18:50:07 +0100 |
commit | 8a18e3b4c4548318eb64fa633f115584a83c0da4 (patch) | |
tree | a83f8f51d1c2f07c436a7ba21f4ccb669618634c /hardlinked-backup.in | |
parent | a09a3a01ac7ec2f95285fe0ce8f93fc037169c0f (diff) | |
download | hardlinkedBackups-8a18e3b4c4548318eb64fa633f115584a83c0da4.tar.xz |
armv6h liegt woanders
Diffstat (limited to 'hardlinked-backup.in')
-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 |