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