forked from sig_core/toolkit
commented hardlink - add later
This commit is contained in:
parent
b077152f47
commit
e8db3871e1
@ -21,6 +21,8 @@ if [ $ret_val -eq "0" ]; then
|
|||||||
|
|
||||||
# Full file list update
|
# Full file list update
|
||||||
cd "${PRODUCTION_ROOT}/${CATEGORY_STUB}/" || { echo "Failed to change directory"; exit 1; }
|
cd "${PRODUCTION_ROOT}/${CATEGORY_STUB}/" || { echo "Failed to change directory"; exit 1; }
|
||||||
|
# Hardlink everything except xml files
|
||||||
|
#hardlink -x '.*\.xml.*' "${REVISION}"
|
||||||
find . > fullfilelist
|
find . > fullfilelist
|
||||||
if [[ -f /usr/local/bin/create-filelist ]]; then
|
if [[ -f /usr/local/bin/create-filelist ]]; then
|
||||||
# We're already here, but Justin Case wanted this
|
# 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
|
/bin/cp fullfiletimelist-rocky fullfiletimelist-rocky-old
|
||||||
/usr/local/bin/create-filelist > fullfiletimelist-rocky
|
/usr/local/bin/create-filelist > fullfiletimelist-rocky
|
||||||
fi
|
fi
|
||||||
|
chown 10004:10005 fullfilelist fullfiletimelist-rocky
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user