Dear Christian, Thanks a lot for your script. There's an issue with your check because it also returns files that are already symbolink links. Check should be:
[ -f $f -a ! -h $f ] || continue I've almost finished the patch (Only the 2 gz files are still duplicated now). I'll upload it later on. Regards, Joseph On Thu, Feb 13, 2014 at 11:41 AM, Cristian Ionescu-Idbohrn <cristian.ionescu-idbo...@axis.com> wrote: > On Thu, 13 Feb 2014, Cristian Ionescu-Idbohrn wrote: >> >> ---8<--- >> #!/bin/sh >> >> set -eu >> #set -x >> >> l= >> for f in $(dpkg -L asciidoc); do >> [ -f $f ] || continue >> l="${l:+$l >> }"$(sha256sum $f) >> done >> echo "$l" | sort | uniq --all-repeated=separate --check-chars=64 >> --->8--- > > This is simplier. > > ---8<--- > #!/bin/sh > > set -eu > > for f in $(dpkg -L asciidoc); do > [ -f $f ] || continue > sha256sum $f > done | sort | uniq --all-repeated=separate --check-chars=64 > --->8--- > > > Cheers, > > -- > Cristian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org