fonctionnel
This commit is contained in:
parent
7b4d83f596
commit
8f30015131
@ -8,6 +8,7 @@ echo `pwd`
|
||||
|
||||
for DIR in `ls -A $MIRROR/mageia/distrib`
|
||||
do
|
||||
echo "$MIRROR/mageia/distrib/$DIR"
|
||||
if [ -d "$MIRROR/mageia/distrib/$DIR" ]; then
|
||||
for ARCH in $ARCHLIST;do
|
||||
if [ "$ARCH" = "SRPMS" ]; then
|
||||
@ -18,7 +19,7 @@ do
|
||||
for k in $DEPOT; do
|
||||
echo "./lalis/$DIR/$ARCH$MEDIA/core/$k"
|
||||
mkdir -p "./lalis/$DIR/$ARCH$MEDIA/core/$k"
|
||||
if ! [ -z "$MEDIA" ]; then
|
||||
if ! [ -z "$MEDIA" ] && ! [ -e "./lalis/$DIR/$ARCH$MEDIA/media_info" ]; then
|
||||
echo "generation des medias"
|
||||
mkdir -p "./lalis/$DIR/$ARCH$MEDIA/media_info"
|
||||
printf "[media_info]
|
||||
@ -74,7 +75,7 @@ media_types=official:free:updates:source
|
||||
name=Core Updates Sources
|
||||
noauto=1
|
||||
rpms=core/updates
|
||||
">"./mageia/lalis/$DIR/$ARCH$MEDIA/media_info/media.cfg"
|
||||
">"./lalis/$DIR/$ARCH$MEDIA/media_info/media.cfg"
|
||||
fi
|
||||
#gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k"
|
||||
done
|
||||
|
Reference in New Issue
Block a user