diff --git a/mirror_mageia_hd b/mirror_mageia_hd index 58fa147..371f4f3 100755 --- a/mirror_mageia_hd +++ b/mirror_mageia_hd @@ -56,9 +56,11 @@ if [ -n "$dossier" ] && [ -n "$boot" ];then tmp_dir=$(mktemp -d -t mirror_mageia_hd-XXXXXXXXXX) pushd $tmp_dir rpm2cpio x86_64/media/core/release/drakiso-bootloader-files-1.17-1.mga8.x86_64.rpm | cpio --extract --make-directories - rsync -aP $tmpdir/usr/share/drakiso/bootloader/images/bootx64.efi + rsync -aP ./usr/share/drakiso/bootloader/images/bootx64.efi rpm2cpio i586/media/core/release/drakiso-bootloader-files-1.17-1.mga8.i586.rpm | cpio --extract --make-directories - rsync -aP $tmpdir/usr/share/drakiso/bootloader/images/bootia32.efi + rsync -aP ./usr/share/drakiso/bootloader/images/bootia32.efi + popd + rm -Rf $tmp_dir done else echo "il manque un dossier (boot ou miroir) voir plus haut"