#!/bin/sh set -e LOCALDIR="$(dirname $0)" if [ -d "$LOCALDIR/.git" -a -f "$LOCALDIR/functions" ]; then . "$LOCALDIR/functions" else . /usr/share/mgatools/functions fi if [ "$1" = "--dry-run" ]; then dryrun=echo shift fi if [ $# != 3 ]; then echo "Usage: $0 [--dry-run]
" >&2 exit 1 fi release="$1" section="$2" subsection="$3" update_distro_hdlist "$release" "$section" "$subsection" update_common_MD5SUM "$release" mirror_repository "$release"