debuugage
This commit is contained in:
parent
639fa6b14e
commit
2e24e32af1
@ -14,7 +14,7 @@ do
|
||||
dossier=$DIRECTORY/mageia/distrib
|
||||
elif [ -e "$DIRECTORY/extlinux" ]; then
|
||||
echo "$DIRECTORY/extlinux trouvé"
|
||||
boot="$DIRECTORY/"
|
||||
boot="$DIRECTORY"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
@ -27,14 +27,14 @@ if [ -z $dossier ] || [ -z $boot ]; then
|
||||
dossier=$DIRECTORY/mageia/distrib
|
||||
elif [ -e "$DIRECTORY/grub/menu.lst" ]; then
|
||||
echo "$DIRECTORY/grub/menu.lst trouvé"
|
||||
boot="$DIRECTORY/"
|
||||
boot="$DIRECTORY"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [ -z $dossier ] || [ -z $boot ]; then
|
||||
|
||||
echo "Erreur dossiers non trouvés"
|
||||
echo "BOOT=$boot"
|
||||
echo "Dossier=$dossier"
|
||||
exit 1
|
||||
@ -48,15 +48,15 @@ fi
|
||||
|
||||
if [ -n $dossier ] && [ -n $boot ];then
|
||||
echo "rsync -avP $param $serveur/mageia/distrib/$version/ $dossier/$version/"
|
||||
rsync -aP $param $serveur/mageia/distrib/$version/x86_64/ $dossier/$version/x86_64/
|
||||
rsync -aP $param $serveur/mageia/distrib/$version $dossier/
|
||||
|
||||
cd $dossier/$version
|
||||
echo "rsync -aP i586/isolinux/i386/vmlinuz $boot/vmlinuz_"$version"_i586"
|
||||
rsync -aP i586/isolinux/i386/vmlinuz $boot/vmlinuz_"$version"_i586
|
||||
rsync -aP i586/isolinux/i386/vmlinuz "$boot"/vmlinuz_"$version"_i586
|
||||
echo "rsync -aP x86_64/isolinux/x86_64/vmlinuz $boot/vmlinuz_"$version"_x86_64"
|
||||
rsync -aP x86_64/isolinux/x86_64/vmlinuz $boot/vmlinuz_"$version"_x86_64
|
||||
rsync -aP i586/isolinux/i386/all.rdz $boot/all_"$version"_i586.rdz
|
||||
rsync -aP x86_64/isolinux/x86_64/all.rdz $boot/all_"$version"_x86_64.rdz
|
||||
rsync -aP x86_64/isolinux/x86_64/vmlinuz "$boot"/vmlinuz_"$version"_x86_64
|
||||
rsync -aP i586/isolinux/i386/all.rdz "$boot"/all_"$version"_i586.rdz
|
||||
rsync -aP x86_64/isolinux/x86_64/all.rdz "$boot"/all_"$version"_x86_64.rdz
|
||||
|
||||
# if [ -d "/mirror/mageia/distrib/cauldron" ];then
|
||||
# serveur='/mirror'
|
||||
|
Reference in New Issue
Block a user