From 29a5fca67c79bb7bfc7e7b3002d1be4eee607203 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 28 Jul 2014 23:23:06 +0100 Subject: Add some utility scripts to update hdlists. These are the same scripts that were present on the live server and have thus proven useful. That said, common code has been factored out and centralised and the syntax has been neatened up. --- mga-hdlists-cauldron | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 mga-hdlists-cauldron (limited to 'mga-hdlists-cauldron') diff --git a/mga-hdlists-cauldron b/mga-hdlists-cauldron new file mode 100755 index 0000000..dc4404c --- /dev/null +++ b/mga-hdlists-cauldron @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +. /usr/share/mgatools/functions + +if [ "$1" = "--dry-run" ]; then + dryrun=echo + shift +fi + +if [ $# != 2 ]; then + echo "Usage: $0 [--dry-run]
" >&2 + exit 1 +fi + +section="$1" + +update_distro_hdlist "cauldron" "$section" "updates_testing" +update_distro_hdlist "cauldron" "$section" "release" +update_common_MD5SUM "cauldron" +mirror_repository "cauldron" -- cgit v1.2.1