don't delete for non-rocky variants in lh

This commit is contained in:
Louis Abel 2023-09-03 16:46:05 -07:00
parent 3c4bc461e2
commit 03d1bfd638
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

@ -56,7 +56,7 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
mkdir -p "${TARGET}"
pushd "${SYNCSRC}" || { echo "${COMPOSE}: Failed to change directory"; break; }
if [[ "${COMPOSE}" != "Rocky" ]]; then
rsync_delete_staging_with_excludes "${TARGET}" "metadata"
rsync_no_delete_staging_with_excludes "${TARGET}" "metadata"
else
rsync_delete_staging "${TARGET}"
fi