diff options
-rw-r--r-- | functions | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -93,6 +93,11 @@ function update_distro_hdlist() function update_common_MD5SUM() { + if [ "$1" = "--nocheck" ]; then + shift + else + valid_release "$1" || return 1 + fi local release="$1" for arch in $arches; do pushd "$distribdir/$release/$arch/media/media_info" @@ -103,6 +108,11 @@ function update_common_MD5SUM() function mirror_repository() { + if [ "$1" = "--nocheck" ]; then + shift + else + valid_release "$1" || return 1 + fi local release="$1" /usr/bin/rsync $mirror_rsync_options "$distribdir/$release/" "$finaldistribdir/$release/" } |