suppression du fichier temporaire
Signed-off-by: Daniel Tartavel <dtux@free.fr>
This commit is contained in:
parent
db3215d8d1
commit
787637cbed
@ -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"
|
||||
|
Reference in New Issue
Block a user