12 lines
377 B
Bash
12 lines
377 B
Bash
#!/usr/bin/bash
|
|
|
|
MIRRORPATH="/mnt/lalis/mirror/mageia/lalis"
|
|
|
|
for X in 7 8
|
|
{
|
|
nice -n 19 /usr/bin/gendistrib --nobadrpm --blind --skipmissingdir --mediacfg $MIRRORPATH/$X/$ARCH/media/media_info/media.cfg $MIRRORPATH/$X/$ARCH
|
|
nice -n 19 /usr/bin/createrepo_c /mnt/lalis/mirror/mageia/lalis/$X/
|
|
}
|
|
echo "signing rpms"
|
|
find $MIRRORPATH -name "*.rpm" -exec rpmsign --resign {} ";"
|