Bug#615876: Asciidoc: about fixing duplicated files
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 didn't forget anything, could you provide me the process you used to check duplicated files quickly please? Thanks a lot in advance, Joseph -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#615876: Asciidoc: about fixing duplicated files
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 l=${l:+$l }$(sha256sum $f) done echo $l | 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
Bug#615876: Asciidoc: about fixing duplicated files
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
Bug#615876: Asciidoc: about fixing duplicated files
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