diff --git a/cp2mirror.sh b/cp2mirror.sh index 59658bd..9d9ea95 100644 --- a/cp2mirror.sh +++ b/cp2mirror.sh @@ -27,7 +27,10 @@ for X in 7 8 exit 1 fi fi - nice -n 19 gendistrib --nobadrpm --blind --skipmissingdir --mediacfg $MIRRORPATH/$X/$ARCH/media/media_info/media.cfg $MIRRORPATH/$X/$ARCH + 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/ } } -chmod a+rX -R . +chmod a+rX -R . +echo "signing rpms" +find $MIRRORPATH -name "*.rpm" -exec rpmsign --resign {} ";