From 2b355c130240b8c5d2ce7da8e2e6b676ed912c8e Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sat, 18 Nov 2023 14:51:57 -0700 Subject: [PATCH] superfluous shasum for isos --- sync/minor-release-sync-to-staging.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sync/minor-release-sync-to-staging.sh b/sync/minor-release-sync-to-staging.sh index dd7c2cd..457ac1e 100644 --- a/sync/minor-release-sync-to-staging.sh +++ b/sync/minor-release-sync-to-staging.sh @@ -37,19 +37,13 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${ARCH}-dvd.iso" ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${ARCH}-minimal.iso" for file in *.iso; do - printf "# %s: %s bytes\n%s\n" \ - "${file}" \ - "$(stat -c %s ${file} -L)" \ - "$(sha256sum --tag ${file})" \ - | sudo tee -a CHECKSUM; - printf "# %s: %s bytes\n%s\n" \ "${file}" \ "$(stat -c %s ${file} -L)" \ "$(sha256sum --tag ${file})" \ | sudo tee -a "${file}.CHECKSUM" - done + cat *.CHECKSUM > CHECKSUM popd || { echo "Could not change directory"; break; } done rm -rf Minimal