Update rsync_xfer.sh

This commit is contained in:
Andrew Bauer 2019-09-30 10:39:29 -05:00 committed by GitHub
parent 9ba8f5c7ff
commit 2c22a4727f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${OS}" == "debian" ] || [ "${OS}"
echo
# Don't keep packages older than 5 days
find -L ./zmrepo/$targetfolder/ -maxdepth 1 -type f -mtime +5 -delete
find ./zmrepo/$targetfolder/ -maxdepth 1 -type f,l -mtime +5 -delete
rsync -vzlh --ignore-errors build/* zmrepo/$targetfolder/
fusermount -zu zmrepo
else