tazlito rev 493
do not remove grub configuration
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:01:37 2018 +0200 (2018-05-01) |
parents | 18cd73d97c08 |
children | a48574f3e429 |
files | tazlito |
line diff
1.1 --- a/tazlito Tue May 01 11:04:57 2018 +0200 1.2 +++ b/tazlito Tue May 01 13:01:37 2018 +0200 1.3 @@ -530,7 +530,7 @@ 1.4 cd $2 1.5 deduplicate 1.6 1.7 - rm -rf $2/boot/grub* 1.8 + [ $(ls $2/boot/grub* | wc -l) -lt 2 ] && rm -rf $2/boot/grub* 1.9 make_bzImage_hardlink $2/boot 1.10 alloc_uefi_part $(ls -r $2/boot/vmlinuz*slitaz*) 1.11