diff options
-rw-r--r-- | functions | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -223,6 +223,11 @@ function update_common_MD5SUM() function mirror_repository() { local distrorelease="$1" + if ! inlist "$distrorelease" "$distroreleases" + then + echo "Incorrect distrorelease $distrorelease" >&2 + exit 1 + fi get_distro_lock "$distrorelease" update_common_MD5SUM "$distrorelease" $dryrun /usr/bin/rsync $mirror_rsync_options "$distribdir/$distrorelease/" "$finaldistribdir/$distrorelease/" |