[lintian] 01/01: refresh-fonts-data: Use sort -u instead of sort | uniq
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 287c2da4fb7b8b42d653573e766e6b2a6709e9b7
Author: Mattia Rizzolo <mattia@mapreri.org>
Date: Mon Aug 10 11:08:54 2015 +0200
refresh-fonts-data: Use sort -u instead of sort | uniq
Signed-off-by: Niels Thykier <niels@thykier.net>
---
private/refresh-fonts-data | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/private/refresh-fonts-data b/private/refresh-fonts-data
index cd224e9..3d97e65 100755
--- a/private/refresh-fonts-data
+++ b/private/refresh-fonts-data
@@ -81,7 +81,7 @@ if [ -z "$contents" ] ; then
fi
zcat "$contents" \
| perl -n -w -E 'print lc $_ if (s%^.+/([\w-]+\.(?:[to]tf|pfb))\s+\w+/((?:[to]tf|t1|x?fonts)-[^,]+)(,.+)?$%$1 $2%i);' \
- | LC_ALL=C sort | uniq >> "$workdir/fonts"
+ | LC_ALL=C sort -u >> "$workdir/fonts"
# Fonts in xfonts-tipa are really shipped by tipa.
sed -i 's/ xfonts-tipa$/ tipa/g' "$workdir/fonts"
mv "$workdir/fonts" "$lintian_data/files/fonts"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: