Repeated files in -doc packages
Hi.
I noticed all -doc packages include some repeated files: plus.gif,
haddock-util.js, haskell-icon.gif, minus.gif and haddock.css.
In ghc6-doc there're a lot of them, as can be seen in
http://packages.debian.org/search?searchon=contents&keywords=haddock-util.js&mode=path&suite=unstable&arch=any .
I've made this simple script to check if the files have the same
content, and they have:
#!/bin/sh
set -e
[ "$1" = "" ] && echo USAGE: $0 FILE && false
files=`dpkg -S $1 | grep -e ghc -e haskell | cut -d\ -f2`
nfiles=`echo $files | wc -w`
file()
{
echo $files | cut -d\ -f$1
}
for i in `seq $nfiles`
do
for j in `seq $((i + 1)) $nfiles`
do
diff -q `file $i` `file $j`
done
done
Should we do something about it?
Greetings.
--
marcot
http://marcot.iaaeee.org/
Reply to: