From 0b4cab9adb5ce518b76f315a6bc0eb926e431d4b Mon Sep 17 00:00:00 2001 From: nazunalika Date: Sun, 11 Jul 2021 15:50:45 -0700 Subject: [PATCH] temporary file list modification --- sync/sync-to-prod.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sync/sync-to-prod.sh b/sync/sync-to-prod.sh index 70d6d8e..d68b8c7 100644 --- a/sync/sync-to-prod.sh +++ b/sync/sync-to-prod.sh @@ -22,5 +22,11 @@ if [ $ret_val -eq "0" ]; then # Full file list update cd "${PRODUCTION_ROOT}/${CATEGORY_STUB}/" || { echo "Failed to change directory"; exit 1; } find . > fullfilelist + if [[ -f /usr/local/bin/create-filelist ]]; then + # We're already here, but Justin Case wanted this + cd "${PRODUCTION_ROOT}/${CATEGORY_STUB}/" || { echo "Failed to change directory"; exit 1; } + /bin/cp fullfiletimelist-rocky fullfiletimelist-rocky-old + /usr/local/bin/create-filelist > fullfiletimelist-rocky + fi fi