From e8db3871e137c03e863bfa3b52c6976f7ef89ad3 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Wed, 21 Jul 2021 12:44:31 -0700 Subject: [PATCH] commented hardlink - add later --- sync/sync-to-prod.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sync/sync-to-prod.sh b/sync/sync-to-prod.sh index d68b8c7..f7a3814 100644 --- a/sync/sync-to-prod.sh +++ b/sync/sync-to-prod.sh @@ -21,6 +21,8 @@ if [ $ret_val -eq "0" ]; then # Full file list update cd "${PRODUCTION_ROOT}/${CATEGORY_STUB}/" || { echo "Failed to change directory"; exit 1; } + # Hardlink everything except xml files + #hardlink -x '.*\.xml.*' "${REVISION}" find . > fullfilelist if [[ -f /usr/local/bin/create-filelist ]]; then # We're already here, but Justin Case wanted this @@ -28,5 +30,6 @@ if [ $ret_val -eq "0" ]; then /bin/cp fullfiletimelist-rocky fullfiletimelist-rocky-old /usr/local/bin/create-filelist > fullfiletimelist-rocky fi + chown 10004:10005 fullfilelist fullfiletimelist-rocky fi