tazpkg diff lib/tazpkgbox/package_infos @ rev 156
tazpkgbox: show lost files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 04 10:16:00 2008 +0000 (2008-09-04) |
parents | ab6c73d00680 |
children | bfbd3b3a28b4 |
line diff
1.1 --- a/lib/tazpkgbox/package_infos Mon Aug 18 08:40:53 2008 +0000 1.2 +++ b/lib/tazpkgbox/package_infos Thu Sep 04 10:16:00 2008 +0000 1.3 @@ -17,7 +17,8 @@ 1.4 ( cd $TMP_DIR ; cpio -id > /dev/null ) 1.5 fi 1.6 tazpkg list-files $2 | awk "$AWK_FILTER" | while read file; do 1.7 - echo -n "$(stat -c "%A|%U|%G|%s|%n|" "$file")" 1.8 + echo -n "$(stat -c "%A|%U|%G|%s|%n|" "$file" || \ 1.9 + echo "File lost !||||$file")" 1.10 if [ -L "$file" ]; then 1.11 echo -n "$(readlink "$file")" 1.12 elif [ -f "$file" ]; then