mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-22 15:10:39 +02:00
Revert "syncrepo: Properly clean up .~tmp~ dirs"
This reverts commit 75f9ca3cc6
.
This should be fixed in rsync versions newer than 3.2.3. In Arch the fix
has been shipped in the rsync 3.2.3-4 package, which our own mirrors now
have been updated to.
[1] https://github.com/WayneD/rsync/issues/192
This commit is contained in:
parent
d9e4acf8a6
commit
8dad3e8562
@ -68,9 +68,6 @@ lastupdate_url='https://rsync.archlinux.org/lastupdate'
|
||||
[ ! -d "${target}" ] && mkdir -p "${target}"
|
||||
[ ! -d "${tmp}" ] && mkdir -p "${tmp}"
|
||||
|
||||
# Cleanup any temporary files from old run that might remain.
|
||||
find "${target}" -name '.~tmp~' -exec rm -r {} +
|
||||
|
||||
exec 9>"${lock}"
|
||||
flock -n 9 || exit
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user