# HG changeset patch # User Pascal Bellard # Date 1430241682 -7200 # Node ID c85231500a1dbf7b127e43318e53bcdcefdb5d44 # Parent d2503952845c4dced0aefe2cb97dd60a6bc46bee busybox, qpdfview, slitaz-base-files: update copyright year diff -r d2503952845c -r c85231500a1d busybox/receipt --- a/busybox/receipt Tue Apr 28 17:26:09 2015 +0300 +++ b/busybox/receipt Tue Apr 28 19:21:22 2015 +0200 @@ -153,6 +153,10 @@ # Httpd stuff. ln -s /usr/lib/slitaz/httphelper.sh $fs/usr/bin/httpd_helper.sh cp -a $stuff/www $fs/var + + # Update copyright year + grep -rl 'copy; 2' $fs/var/www -print0 | xargs -0 \ + sed -i "s/copy; [0-9]*/copy; $(date +%Y)/" } # GNU utils stuff. diff -r d2503952845c -r c85231500a1d qpdfview/receipt --- a/qpdfview/receipt Tue Apr 28 17:26:09 2015 +0300 +++ b/qpdfview/receipt Tue Apr 28 19:21:22 2015 +0200 @@ -19,6 +19,8 @@ compile_rules() { cp -f $stuff/qpdfview_ru.ts $src/translations + sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \ + $src/translations/qpdfview_ru.ts lrelease qpdfview.pro qmake PREFIX=/usr qpdfview.pro diff -r d2503952845c -r c85231500a1d slitaz-base-files/receipt --- a/slitaz-base-files/receipt Tue Apr 28 17:26:09 2015 +0300 +++ b/slitaz-base-files/receipt Tue Apr 28 19:21:22 2015 +0200 @@ -93,6 +93,10 @@ # Fix httphelper link cd $fs/usr/lib/slitaz ln -s httphelper.sh httphelper + + # Update copyright year + grep -rl 'copy; 2' $fs/var/www -print0 | xargs -0 \ + sed -i "s/copy; [0-9]*/copy; $(date +%Y)/" } # Pre and post install to backup all /etc/settings