# HG changeset patch # User Pascal Bellard # Date 1601818013 0 # Node ID fba53d645af2273579f32defc05d628b3ae2b6a6 # Parent df946fc43fb0de018b53557e5497d47a442eb015 tazlito update README & index.html year diff -r df946fc43fb0 -r fba53d645af2 tazlito --- a/tazlito Tue Sep 15 16:45:55 2020 +0000 +++ b/tazlito Sun Oct 04 13:26:53 2020 +0000 @@ -632,6 +632,7 @@ create_iso() { cd $2 deduplicate + sed -i "s|20[1-9][0-9]|$(date +%Y)|" $2/README $2/index.html [ $(ls $2/boot/grub* 2> /dev/null | wc -l) -lt 2 ] && rm -rf $2/boot/grub* make_bzImage_hardlink $2/boot @@ -654,7 +655,7 @@ EOT action 'Computing md5...' - touch boot/isolinux/boot.cat + touch $2/boot/isolinux/boot.cat find * -type f ! -name md5sum ! -name 'vmlinuz-*' -exec md5sum {} \; | \ sort -k 2 > md5sum status