tazpkg diff tazpkg @ rev 539
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 | 73e376e7e6b5 |
children | d8750abd87bd |
line diff
1.1 --- a/tazpkg Tue Jan 03 23:08:19 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