[ciderwebmail] 01/04: Add patch 1001 to fix resolve supported languages.

Jonas Smedegaard dr at jones.dk
Sat Oct 25 17:01:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ciderwebmail.

commit a0e0c1867a3076dc2c3ef2b72526b849e6ef6258
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Oct 25 18:42:06 2014 +0200

    Add patch 1001 to fix resolve supported languages.
---
 debian/patches/1001_fix_resolve_langs.patch | 11 +++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/1001_fix_resolve_langs.patch b/debian/patches/1001_fix_resolve_langs.patch
new file mode 100644
index 0000000..5ed12fb
--- /dev/null
+++ b/debian/patches/1001_fix_resolve_langs.patch
@@ -0,0 +1,11 @@
+--- a/lib/CiderWebmail.pm
++++ b/lib/CiderWebmail.pm
+@@ -118,7 +118,7 @@
+ sub langs {
+     my ($self) = @_;
+ 
+-    @langs = map { m!/([^/]*)\z!xm } grep { -d } glob $self->config->{root} . "/locale/*"
++    @langs = map { m!/([^/]*)\z!xm } grep { -d } glob $self->config->{root} . "/templates/*"
+         unless @langs;
+ 
+     return @langs;
diff --git a/debian/patches/series b/debian/patches/series
index 13f38bd..a4bf4d6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+1001_fix_resolve_langs.patch
 2001_avoid_autoinstall.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/ciderwebmail.git



More information about the Pkg-perl-cvs-commits mailing list