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