diff --git a/roles/arch32_mirror/templates/syncrepo_arch32 b/roles/arch32_mirror/templates/syncrepo_arch32 index d2ce2247..a03a6e91 100755 --- a/roles/arch32_mirror/templates/syncrepo_arch32 +++ b/roles/arch32_mirror/templates/syncrepo_arch32 @@ -48,8 +48,8 @@ rsync_cmd() { # if we are called without a tty (cronjob) only run when there are changes if ! tty -s && [[ -f "$target/lastupdate" ]] && diff -b <(curl -s "$lastupdate_url") "$target/lastupdate" >/dev/null; then - # keep lastsync file in sync for statistics generated by the Arch Linux website - rsync_cmd "$source/lastsync" "$target/lastsync" + # keep lastupdate file in sync for statistics generated by the Arch Linux website + rsync_cmd "$source/lastupdate" "$target/lastupdate" exit 0 fi