1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__cp2mirror/update.sh
Daniel Tartavel afeafdd192 update.sh
2020-04-13 20:23:45 +02:00

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 {} ";"