~ubuntu-branches/ubuntu/natty/pkgbinarymangler/natty

« back to all changes in this revision

Viewing changes to pkgstripfiles

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-11-12 13:18:49 UTC
  • Revision ID: james.westby@ubuntu.com-20101112131849-iyk12rbdqwchegfn
Tags: 83
* test/icecream: Install an additional symbolic link "foolink.png" to
  "foo.png".
* test/run, check_deb_integrity(): Verify that foolink.png remains a
  symbolic link.
* pkgstripfiles: Ignore symbolic links for PNG compression. They mess up the
  careful "symlink identical help files" work from pkgstriptranslations and
  actually lead to bigger packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
fi
78
78
 
79
79
# optipng/advancecomp
80
 
find -name '*.png' | while read f; do
 
80
find -type f -name '*.png' | while read f; do
81
81
    if ! optipng -o4 -preserve "$f"; then
82
82
        echo "WARNING: optipng failed on $f, ignoring" >&2
83
83
        continue