tazpkg rev 539 4.7.4

tazpkg: remove an error message for CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 14 16:45:39 2012 +0100 (2012-01-14)
parents eb24c6f97064
children b93153a8023f
files tazpkg
line diff
     1.1 --- a/tazpkg	Tue Jan 03 23:08:35 2012 +0100
     1.2 +++ b/tazpkg	Sat Jan 14 16:45:39 2012 +0100
     1.3 @@ -590,12 +590,12 @@
     1.4  		# save 'official' configuration files
     1.5  		eval_gettext "Saving configuration files for \$PACKAGE... "
     1.6  		for i in $CONFIG_FILES; do
     1.7 -			{ cd fs ; find ${i#/} -type f; cd ..; }
     1.8 +			{ cd fs ; find ${i#/} -type f 2> /dev/null; cd ..; }
     1.9  		done | { cd fs ; cpio -o -H newc --quiet | gzip -9; cd ..; } > \
    1.10  			$ROOT$INSTALLED/$PACKAGE/volatile.cpio.gz
    1.11  		# keep user configuration files
    1.12  		for i in $CONFIG_FILES; do
    1.13 -			{ cd fs ; find ${i#/} -type f; cd ..; }
    1.14 +			{ cd fs ; find ${i#/} -type f 2> /dev/null; cd ..; }
    1.15  		done | while read i; do
    1.16  			[ -e $ROOT/$i ] || continue
    1.17  			cp -a $ROOT/$i fs/$i