update
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#!/bin/bash
|
||||
MIRROR="/mnt/lalis/mirror"
|
||||
MIRROR="/mirror/mageia"
|
||||
ARCHLIST="SRPMS x86_64 i586 armv7hl aarch64"
|
||||
DEPOT="release updates"
|
||||
|
||||
cd "$MIRROR"
|
||||
echo `pwd`
|
||||
|
||||
for DIR in `ls -A $MIRROR/mageia/distrib`
|
||||
for DIR in `ls -A $MIRROR/distrib`
|
||||
do
|
||||
echo "$MIRROR/mageia/distrib/$DIR"
|
||||
if [ -d "$MIRROR/mageia/distrib/$DIR" ]; then
|
||||
echo "$MIRROR/distrib/$DIR"
|
||||
if [ -d "$MIRROR/distrib/$DIR" ]; then
|
||||
for ARCH in $ARCHLIST;do
|
||||
if [ "$ARCH" = "SRPMS" ]; then
|
||||
MEDIA="";
|
||||
|
Reference in New Issue
Block a user