From: Frank Lichtenheld Date: Sat, 17 Nov 2007 17:04:14 +0000 (+0100) Subject: 050checkinst: No dependencies on gettext and/or generated locale X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=commitdiff_plain;h=968f38c2e3b7d6f606083afa95774309ef8e353e 050checkinst: No dependencies on gettext and/or generated locale --- diff --git a/cron.d/050checkinst b/cron.d/050checkinst index 559de6a..dd5bf29 100755 --- a/cron.d/050checkinst +++ b/cron.d/050checkinst @@ -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. -locales="de_DE.UTF-8 en_US.UTF-8 nl_NL fr_FR.UTF-8 uk_UA.UTF-8" - packages=`tempfile` -locs=`tempfile` 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" ] @@ -39,7 +27,7 @@ then 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`" diff --git a/debian/control b/debian/control index 4a4d48a..f9a343f 100644 --- a/debian/control +++ b/debian/control @@ -1,6 +1,6 @@ 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,