[Libreoffice-commits] core.git: svtools/source

Rene Engelhard (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 11 21:30:34 UTC 2020


 svtools/source/misc/langhelp.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 38e6a5ddb408d8cfabf7f3e578b8bce760c02d11
Author:     Rene Engelhard <rene at debian.org>
AuthorDate: Mon Feb 3 19:27:36 2020 +0100
Commit:     Rene Engelhard <rene at debian.org>
CommitDate: Tue Feb 11 22:29:59 2020 +0100

    fix svtools' sVendor for langpack install for Debian
    
    after a21987977eae34eaf02fa109201c802f77ea68d1
    
    Change-Id: I4bd2b37e3f006209f55bccca9fe117b0c0c4efbd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87908
    Tested-by: Jenkins
    Tested-by: Rene Engelhard <rene at debian.org>
    Reviewed-by: Rene Engelhard <rene at debian.org>

diff --git a/svtools/source/misc/langhelp.cxx b/svtools/source/misc/langhelp.cxx
index b3df64fce1a1..dd681dc42952 100644
--- a/svtools/source/misc/langhelp.cxx
+++ b/svtools/source/misc/langhelp.cxx
@@ -142,8 +142,7 @@ OUString getInstalledLocaleForSystemUILanguage(const css::uno::Sequence<OUString
                     else
                         aPackages.emplace_back("libreoffice-langpack-" + install);
                 }
-                //Debian would be: "The Document Foundation/Debian"
-                else if (sVendor == "The Document Foundation, Debian and Ubuntu")
+                else if (sVendor == "The Document Foundation/Debian" || sVendor == "The Document Foundation, Debian and Ubuntu")
                 {
                     // l10n is the typical Debian/Ubuntu naming convention
                     aPackages.emplace_back("libreoffice-l10n-" + install);


More information about the Libreoffice-commits mailing list