[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.3.1-15-gf3ca803



The following commit has been merged in the master branch:
commit f3ca8032ac2072e9b1c243bd569b2a33ffa9c792
Author: Russ Allbery <rra@debian.org>
Date:   Sun Jan 10 21:57:57 2010 -0800

    Fix file test for whether a locale has already been generated

diff --git a/debian/postinst b/debian/postinst
index fac26e5..63b7fec 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -5,7 +5,7 @@
 
 set -e
 
-if [ ! -d '/var/lib/lintian/locale/en_US.UTF-8/LC_CTYPE' ] ; then
+if [ ! -f '/var/lib/lintian/locale/en_US.UTF-8/LC_CTYPE' ] ; then
     echo 'Generating en_US.UTF-8 locale for internal Lintian use....'
     mkdir -p /var/lib/lintian/locale
     if ! localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias \

-- 
Debian package checker


Reply to: