tazlito rev 528
tazlito update README & index.html year
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 04 13:26:53 2020 +0000 (2020-10-04) |
parents | df946fc43fb0 |
children | 8654e61dc1b3 |
files | tazlito |
line diff
1.1 --- a/tazlito Tue Sep 15 16:45:55 2020 +0000 1.2 +++ b/tazlito Sun Oct 04 13:26:53 2020 +0000 1.3 @@ -632,6 +632,7 @@ 1.4 create_iso() { 1.5 cd $2 1.6 deduplicate 1.7 + sed -i "s|20[1-9][0-9]|$(date +%Y)|" $2/README $2/index.html 1.8 1.9 [ $(ls $2/boot/grub* 2> /dev/null | wc -l) -lt 2 ] && rm -rf $2/boot/grub* 1.10 make_bzImage_hardlink $2/boot 1.11 @@ -654,7 +655,7 @@ 1.12 EOT 1.13 1.14 action 'Computing md5...' 1.15 - touch boot/isolinux/boot.cat 1.16 + touch $2/boot/isolinux/boot.cat 1.17 find * -type f ! -name md5sum ! -name 'vmlinuz-*' -exec md5sum {} \; | \ 1.18 sort -k 2 > md5sum 1.19 status