then
echo "cachedir missing." >> $cache
else
- perm=$(ls -ld "$cachedir" | perl -ne 'print "ok" if /^drwxrws--- \d+ www-data/')
+ perm=$(ls -ld "$cachedir" | perl -ne 'print "ok" if /^drwx...... \d+ www-data/ || /^d...rws... \d+ [\w-]+\/www-data/'
if [ -z "$perm" ]
then
echo "cachedir has wrong permissions." >> $cache
for domain in ${podomains}
do
perl -p -i -e "s,^#:\s*\Q${topdir}\E,#: .,go" ${domain}.pot.new
- if [ ! -f ${domain}.pot.new ] || diff -I"POT-Creation-Date" -q ${domain}.pot.new ${domain}.pot >/dev/null 2>&1
+ if [ ! -f ${domain}.pot.new ] || diff -I"POT-Creation-Date" -I"^#: " -q ${domain}.pot.new ${domain}.pot >/dev/null 2>&1
then
echo "${domain}.pot unchanged"
rm ${domain}.pot.new
Source: packages
-Build-Depends: rsync, dpkg-dev, procmail,
+Build-Depends: rsync, dpkg-dev, procmail, gettext,
liblocale-maketext-lexicon-perl, libi18n-acceptlanguage-perl, libnumber-format-perl,
libcompress-zlib-perl, libhtml-parser-perl, libio-stringy-perl,
libmldbm-perl, libtext-iconv-perl, libhtml-template-perl,
$real_archive = $archive;
$archive = 'us';
}
- if (($real_archive eq $archive) &&
- $pkgs{$pkg}{$suite}{$archive} &&
+ if ($pkgs{$pkg}{$suite}{$archive} &&
(version_cmp( $pkgs{$pkg}{$suite}{$archive}, $version ) >= 0)) {
next;
}
$self->{version} = $data->{version};
}
+
+ return 1;
}
#FIXME: should be mergable with the Packages::Page version
[% IF opts.searchon == "names" && non_results %]
<p>[% g('<a href="%s">Some</a> results have not been displayed due to the search parameters.',
- "$search_url$keyword_esc") %]</p>
+ "$search_url?keywords=$keyword_esc") %]</p>
[% END %]
</div>