diff options
author | Colin Guthrie <colin@mageia.org> | 2014-07-28 14:50:01 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-07-28 14:50:01 +0100 |
commit | b20033f3f63706b6fd6cc92168eb58ff1e97d58d (patch) | |
tree | df7724e6e454038ee40193d665bc93fe583e38e9 /update_hdlists_cauldron | |
parent | f532a717bedc0282204b3dd48871e810bb0cb79f (diff) | |
download | mgatools-topic/valstar.tar mgatools-topic/valstar.tar.gz mgatools-topic/valstar.tar.bz2 mgatools-topic/valstar.tar.xz mgatools-topic/valstar.zip |
Changes made on live clone on valstar as at 28th July 2014topic/valstar
Diffstat (limited to 'update_hdlists_cauldron')
-rwxr-xr-x | update_hdlists_cauldron | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/update_hdlists_cauldron b/update_hdlists_cauldron new file mode 100755 index 0000000..6c2241f --- /dev/null +++ b/update_hdlists_cauldron @@ -0,0 +1,30 @@ +#!/bin/sh + +. /usr/share/mgatools/functions + +if [ $# != 1 ] +then + echo 'Usage: update_hdlists_cauldron section' >&2 + exit 1 +fi + +section="$1" + +if ! inlist "$section" "$distrosections" +then + echo "Incorrect section $section" >&2 + exit 1 +fi + +for arch in $arches + do + update_hdlist "$distribdir/cauldron/$arch/media/$section/updates_testing" + update_hdlist "$distribdir/cauldron/$arch/media/$section/release" + update_hdlist "$distribdir/cauldron/$arch/media/debug/$section/updates_testing" + update_hdlist "$distribdir/cauldron/$arch/media/debug/$section/release" + done + + update_hdlist "$distribdir/cauldron/SRPMS/$section/updates_testing" + update_hdlist "$distribdir/cauldron/SRPMS/$section/release" + update_common_MD5SUM cauldron + mirror_repository cauldron |