1
0
This commit is contained in:
Daniel Tartavel 2023-09-07 13:05:53 +02:00
parent 964bbc899a
commit 8a96f6d015
3 changed files with 7 additions and 7 deletions

View File

@ -536,14 +536,14 @@ $o = {
}, },
'users' => [ 'users' => [
{ {
'gid' => '500', 'gid' => '1000',
'groups' => [], 'groups' => [],
'icon' => 'default', 'icon' => 'default',
'name' => 'lalis', 'name' => 'lalis',
'password' => 'lalis', 'password' => 'lalis',
'realname' => undef, 'realname' => undef,
'shell' => '/bin/bash', 'shell' => '/bin/bash',
'uid' => '500' 'uid' => '1000'
} }
] ]
}; };

View File

@ -2,7 +2,7 @@
MIRRORPATH=/mnt/lalis/mirror/mageia/lalis/ MIRRORPATH=/mnt/lalis/mirror/mageia/lalis/
for X in 7 8 for X in 8 9
{ {
rsync -aP SRPMS/*mga$X* $MIRRORPATH/$X/SRPMS/core/ rsync -aP SRPMS/*mga$X* $MIRRORPATH/$X/SRPMS/core/
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then

View File

@ -1,15 +1,15 @@
#!/bin/bash #!/bin/bash
MIRROR="/mnt/lalis/mirror" MIRROR="/mirror/mageia"
ARCHLIST="SRPMS x86_64 i586 armv7hl aarch64" ARCHLIST="SRPMS x86_64 i586 armv7hl aarch64"
DEPOT="release updates" DEPOT="release updates"
cd "$MIRROR" cd "$MIRROR"
echo `pwd` echo `pwd`
for DIR in `ls -A $MIRROR/mageia/distrib` for DIR in `ls -A $MIRROR/distrib`
do do
echo "$MIRROR/mageia/distrib/$DIR" echo "$MIRROR/distrib/$DIR"
if [ -d "$MIRROR/mageia/distrib/$DIR" ]; then if [ -d "$MIRROR/distrib/$DIR" ]; then
for ARCH in $ARCHLIST;do for ARCH in $ARCHLIST;do
if [ "$ARCH" = "SRPMS" ]; then if [ "$ARCH" = "SRPMS" ]; then
MEDIA=""; MEDIA="";