bug
This commit is contained in:
parent
270a27b851
commit
58460b9524
@ -8,6 +8,7 @@ echo `pwd`
|
|||||||
|
|
||||||
for DIR in `ls -A $MIRROR/mageia/distrib`
|
for DIR in `ls -A $MIRROR/mageia/distrib`
|
||||||
do
|
do
|
||||||
|
if [ -d "$DIR" ]; then
|
||||||
for ARCH in $ARCHLIST;do
|
for ARCH in $ARCHLIST;do
|
||||||
if [ "$ARCH" = "SRPMS" ]; then
|
if [ "$ARCH" = "SRPMS" ]; then
|
||||||
MEDIA="";
|
MEDIA="";
|
||||||
@ -15,11 +16,11 @@ do
|
|||||||
MEDIA="/media"
|
MEDIA="/media"
|
||||||
fi
|
fi
|
||||||
for k in $DEPOT; do
|
for k in $DEPOT; do
|
||||||
echo "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k"
|
echo "./lalis/$DIR/$ARCH$MEDIA/core/$k"
|
||||||
mkdir -p "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k"
|
mkdir -p "./lalis/$DIR/$ARCH$MEDIA/core/$k"
|
||||||
if ! [ -z "$MEDIA" ]; then
|
if ! [ -z "$MEDIA" ]; then
|
||||||
echo "generation des medias"
|
echo "generation des medias"
|
||||||
mkdir -p "./mageia/lalis/$DIR/$ARCH$MEDIA/media_info"
|
mkdir -p "./lalis/$DIR/$ARCH$MEDIA/media_info"
|
||||||
printf "[media_info]
|
printf "[media_info]
|
||||||
version=$DIR
|
version=$DIR
|
||||||
mediacfg_version=2
|
mediacfg_version=2
|
||||||
@ -78,4 +79,5 @@ rpms=core/updates
|
|||||||
gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k"
|
gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user