wok-6.x rev 20101
tazweb, slitaz-base-files: update copyright date
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 07 23:47:30 2017 +0200 (2017-10-07) |
parents | 30a01091f7b0 |
children | d1bbfbf0568c |
files | slitaz-base-files/receipt tazweb/receipt |
line diff
1.1 --- a/slitaz-base-files/receipt Sat Oct 07 23:08:11 2017 +0200 1.2 +++ b/slitaz-base-files/receipt Sat Oct 07 23:47:30 2017 +0200 1.3 @@ -128,6 +128,8 @@ 1.4 if ! grep -q audio "$1/etc/group"; then 1.5 chroot "$1/" /bin/addgroup -g 20 audio 1.6 fi 1.7 + sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \ 1.8 + $1/usr/share/doc/slitaz-doc.css 1.9 } 1.10 1.11 pre_remove()
2.1 --- a/tazweb/receipt Sat Oct 07 23:08:11 2017 +0200 2.2 +++ b/tazweb/receipt Sat Oct 07 23:47:30 2017 +0200 2.3 @@ -32,3 +32,9 @@ 2.4 mkdir -p $fs 2.5 cp -a $install/* $fs 2.6 } 2.7 + 2.8 +post_install() 2.9 +{ 2.10 + sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \ 2.11 + $1/usr/share/doc/tazweb/style.css 2.12 +}