# HG changeset patch # User Pascal Bellard # Date 1525172497 -7200 # Node ID f745d3b22418a217f442d22ad74b19d134f34436 # Parent 18cd73d97c087bb4875e9ee5e4f66b01cd1f34b5 do not remove grub configuration diff -r 18cd73d97c08 -r f745d3b22418 tazlito --- a/tazlito Tue May 01 11:04:57 2018 +0200 +++ b/tazlito Tue May 01 13:01:37 2018 +0200 @@ -530,7 +530,7 @@ cd $2 deduplicate - rm -rf $2/boot/grub* + [ $(ls $2/boot/grub* | wc -l) -lt 2 ] && rm -rf $2/boot/grub* make_bzImage_hardlink $2/boot alloc_uefi_part $(ls -r $2/boot/vmlinuz*slitaz*)