Bug#615876: Asciidoc: about fixing duplicated files

2014-02-13 Thread Joseph Herlant
Control: owner 615876 herla...@gmail.com found 615876 asciidoc/8.6.9-1 tags 615876 confirmed thanks Dear Axel and Christian, I'm currently working on this bug. I found the duplicated files you listed and am currently working on the installation package to fix this. In order to verify that I

Bug#615876: Asciidoc: about fixing duplicated files

2014-02-13 Thread Cristian Ionescu-Idbohrn
On Thu, 13 Feb 2014, Joseph Herlant wrote: In order to verify that I didn't forget anything, could you provide me the process you used to check duplicated files quickly please? ---8--- #!/bin/sh set -eu #set -x l= for f in $(dpkg -L asciidoc); do [ -f $f ] || continue

Bug#615876: Asciidoc: about fixing duplicated files

2014-02-13 Thread Cristian Ionescu-Idbohrn
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.

Bug#615876: Asciidoc: about fixing duplicated files

2014-02-13 Thread Joseph Herlant
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