summaryrefslogtreecommitdiffstats
path: root/update_hdlists_cauldron
blob: 6c2241f453cab02277808098042921352e5919f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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