wok-next rev 18006

busybox, qpdfview, slitaz-base-files: update copyright year
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 28 19:21:22 2015 +0200 (2015-04-28)
parents d2503952845c
children f24ab489e072
files busybox/receipt qpdfview/receipt slitaz-base-files/receipt
line diff
     1.1 --- a/busybox/receipt	Tue Apr 28 17:26:09 2015 +0300
     1.2 +++ b/busybox/receipt	Tue Apr 28 19:21:22 2015 +0200
     1.3 @@ -153,6 +153,10 @@
     1.4  	# Httpd stuff.
     1.5  	ln -s /usr/lib/slitaz/httphelper.sh $fs/usr/bin/httpd_helper.sh
     1.6  	cp -a $stuff/www $fs/var
     1.7 +
     1.8 +	# Update copyright year
     1.9 +	grep -rl 'copy; 2' $fs/var/www -print0 | xargs -0 \
    1.10 +		sed -i "s/copy; [0-9]*/copy; $(date +%Y)/"
    1.11  }
    1.12  
    1.13  # GNU utils stuff.
     2.1 --- a/qpdfview/receipt	Tue Apr 28 17:26:09 2015 +0300
     2.2 +++ b/qpdfview/receipt	Tue Apr 28 19:21:22 2015 +0200
     2.3 @@ -19,6 +19,8 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cp -f $stuff/qpdfview_ru.ts $src/translations
     2.7 +	sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
     2.8 +		$src/translations/qpdfview_ru.ts
     2.9  
    2.10  	lrelease qpdfview.pro
    2.11  	qmake PREFIX=/usr qpdfview.pro
     3.1 --- a/slitaz-base-files/receipt	Tue Apr 28 17:26:09 2015 +0300
     3.2 +++ b/slitaz-base-files/receipt	Tue Apr 28 19:21:22 2015 +0200
     3.3 @@ -93,6 +93,10 @@
     3.4  	# Fix httphelper link
     3.5  	cd $fs/usr/lib/slitaz
     3.6  	ln -s httphelper.sh httphelper
     3.7 +
     3.8 +	# Update copyright year
     3.9 +	grep -rl 'copy; 2' $fs/var/www -print0 | xargs -0 \
    3.10 +		sed -i "s/copy; [0-9]*/copy; $(date +%Y)/"
    3.11  }
    3.12  
    3.13  # Pre and post install to backup all /etc/settings