From 246a685a644a383e10e4f1a2d8155d913314a98c Mon Sep 17 00:00:00 2001 From: dz00te Date: Thu, 6 May 2021 13:03:07 +0200 Subject: [PATCH] add multi-arch fix --- centos2rocky.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/centos2rocky.sh b/centos2rocky.sh index 396512e..7ba0607 100755 --- a/centos2rocky.sh +++ b/centos2rocky.sh @@ -33,7 +33,8 @@ export LANG=en_US.UTF-8 SUPPORTED_RELEASE="8.3" SUPPORTED_MAJOR="8" -current_url="https://dl.rockylinux.org/pub/rocky/${SUPPORTED_RELEASE}/BaseOS/x86_64/os/Packages" +ARCH=$(arch) +current_url="https://dl.rockylinux.org/pub/rocky/${SUPPORTED_RELEASE}/BaseOS/${ARCH}/os/Packages" # These are packages that can be swapped safely over and will have more added over time. packages_to_swap=( centos-backgrounds \