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: label
GPG Key ID: B37E62D143879B36
1 changed files with 1 additions and 1 deletions

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