]> git.deb.at Git - deb/packages.git/commitdiff
050checkinst: No dependencies on gettext and/or generated locale
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 17 Nov 2007 17:04:14 +0000 (18:04 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 17 Nov 2007 20:46:06 +0000 (21:46 +0100)
cron.d/050checkinst
debian/control

index 559de6a914b4aa5fd2777279225206cf5d226f8c..dd5bf295a401cf62a31d9e72c0834668e254ca69 100755 (executable)
@@ -5,25 +5,13 @@
 # Test whether all required packages are installed and generate a mail
 # if they aren't, so that the admin is informed.
 
 # Test whether all required packages are installed and generate a mail
 # if they aren't, so that the admin is informed.
 
-locales="de_DE.UTF-8 en_US.UTF-8 nl_NL fr_FR.UTF-8 uk_UA.UTF-8"
-
 packages=`tempfile`
 packages=`tempfile`
-locs=`tempfile`
 cache=`tempfile`
 trap "rm -f $packages $locs" INT EXIT
 
 cd $topdir
 dpkg-checkbuilddeps >> $packages 2>&1
 
 cache=`tempfile`
 trap "rm -f $packages $locs" INT EXIT
 
 cd $topdir
 dpkg-checkbuilddeps >> $packages 2>&1
 
-for l in $locales
-do
-    if ! grep -q "^$l" /etc/locale.gen
-    then
-       echo "Locale $l missing." >> $locs
-       echo >> $locs
-    fi
-done
-
 if [ -n "$cachedir" ]
 then
     if [ ! -d "$cachedir" ]
 if [ -n "$cachedir" ]
 then
     if [ ! -d "$cachedir" ]
@@ -39,7 +27,7 @@ then
     fi
 fi
 
     fi
 fi
 
-if [ -s $packages -o -s $locs -o -s $cache ]
+if [ -s $packages -o -s $cache ]
 then
     (
        echo "Subject: Problem packages.debian.org on `hostname -s`"
 then
     (
        echo "Subject: Problem packages.debian.org on `hostname -s`"
index 4a4d48aed42f538f50703dc8a73d9e9e8b2fc3ea..f9a343f918fd9f1dd64466dc3a1c773da49af898 100644 (file)
@@ -1,6 +1,6 @@
 Source: packages
 Build-Depends: git-core, rsync, dpkg-dev, procmail,
 Source: packages
 Build-Depends: git-core, rsync, dpkg-dev, procmail,
gettext, liblocale-gettext-perl, locales | locales-all, libi18n-acceptlanguage-perl,
liblocale-maketext-lexicon-perl, libi18n-acceptlanguage-perl,
  libcompress-zlib-perl, libhtml-parser-perl, libio-stringy-perl,
  libmldbm-perl, libtext-iconv-perl, libhtml-template-perl,
  libclass-accessor-perl, liburi-perl, libxml-rss-perl, libtemplate-perl,
  libcompress-zlib-perl, libhtml-parser-perl, libio-stringy-perl,
  libmldbm-perl, libtext-iconv-perl, libhtml-template-perl,
  libclass-accessor-perl, liburi-perl, libxml-rss-perl, libtemplate-perl,