tazpkg rev 155
Avoid a warning for test --full
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 19:33:50 2008 +0000 (2008-08-31) |
parents | 5e6dd7be0a34 |
children | 0192ab29a1e0 |
files | tazpkg |
line diff
1.1 --- a/tazpkg Tue Aug 19 12:18:55 2008 +0000 1.2 +++ b/tazpkg Sun Aug 31 19:33:50 2008 +0000 1.3 @@ -1578,7 +1578,8 @@ 1.4 done 1.5 done 1.6 MSG="No package has installed the following files:\n" 1.7 - find /etc /bin /sbin /lib /usr /var/www -not -type d | while read file; do 1.8 + find /etc /bin /sbin /lib /usr /var/www \ 1.9 + -not -type d 2> /dev/null | while read file; do 1.10 case "$file" in *\[*) continue;; esac 1.11 grep -q "^$file$" */files.list && continue 1.12 echo -e "$MSG $file"