# HG changeset patch # User Pascal Bellard # Date 1507412850 -7200 # Node ID b6b6a48e182949b326f764279acbb2b3fb37873f # Parent 30a01091f7b085a385ab7cc7b7f3a16beaca3ef0 tazweb, slitaz-base-files: update copyright date diff -r 30a01091f7b0 -r b6b6a48e1829 slitaz-base-files/receipt --- a/slitaz-base-files/receipt Sat Oct 07 23:08:11 2017 +0200 +++ b/slitaz-base-files/receipt Sat Oct 07 23:47:30 2017 +0200 @@ -128,6 +128,8 @@ if ! grep -q audio "$1/etc/group"; then chroot "$1/" /bin/addgroup -g 20 audio fi + sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \ + $1/usr/share/doc/slitaz-doc.css } pre_remove() diff -r 30a01091f7b0 -r b6b6a48e1829 tazweb/receipt --- a/tazweb/receipt Sat Oct 07 23:08:11 2017 +0200 +++ b/tazweb/receipt Sat Oct 07 23:47:30 2017 +0200 @@ -32,3 +32,9 @@ mkdir -p $fs cp -a $install/* $fs } + +post_install() +{ + sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \ + $1/usr/share/doc/tazweb/style.css +}