temporary file list modification

This commit is contained in:
Louis Abel 2021-07-11 15:50:45 -07:00
parent 58d999af00
commit 0b4cab9adb
Signed by: label
GPG Key ID: 6735C0E1BD65D048
1 changed files with 6 additions and 0 deletions

View File

@ -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