From 403b147f08ad1f5fd74c60289548c70427edebe6 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Mon, 5 Jun 2023 12:45:41 -0700 Subject: [PATCH] hardlink only after rocky is synced --- sync/sync-to-staging.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sync/sync-to-staging.sh b/sync/sync-to-staging.sh index b7a48c4..837d722 100644 --- a/sync/sync-to-staging.sh +++ b/sync/sync-to-staging.sh @@ -141,6 +141,9 @@ if [ $ret_val -eq "0" ]; then done fi - echo "** Hardlinking staging directory (${TARGET})" - perform_hardlink "${TARGET}" + if [[ "${SHORT}" == "Rocky" ]]; then + echo "** Hardlinking staging directory (${TARGET})" + perform_hardlink "${TARGET}" + fi + echo "** Syncing completed" fi