diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2013-01-23 15:27:02 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2013-01-23 15:27:02 +0000 |
commit | e572f48d9902d6b35cd693e2493153858a62d2ad (patch) | |
tree | d7ad8e5ee776441bbc082e14042d91f63052b13b /app-office/libreoffice-l10n/files | |
parent | Version bump. (diff) | |
download | gentoo-2-e572f48d9902d6b35cd693e2493153858a62d2ad.tar.gz gentoo-2-e572f48d9902d6b35cd693e2493153858a62d2ad.tar.bz2 gentoo-2-e572f48d9902d6b35cd693e2493153858a62d2ad.zip |
Add 4.0 langpacks to fix weird crashers.
(Portage version: 2.2.0_alpha158/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'app-office/libreoffice-l10n/files')
-rw-r--r-- | app-office/libreoffice-l10n/files/lo_gen_langs.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app-office/libreoffice-l10n/files/lo_gen_langs.sh b/app-office/libreoffice-l10n/files/lo_gen_langs.sh index 880aff114725..809deed03f6e 100644 --- a/app-office/libreoffice-l10n/files/lo_gen_langs.sh +++ b/app-office/libreoffice-l10n/files/lo_gen_langs.sh @@ -7,8 +7,8 @@ # Find l10n packs for libreoffice and format it for use in ebuilds. # -VERSION=${1:-3.6.0} -BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/stable/${VERSION}/rpm/x86" +VERSION=${1:-4.0.0} +BASE_SRC_URI="http://download.documentfoundation.org/libreoffice/testing/${VERSION}/rpm/x86" # needs lxml print_available_tarballs() { @@ -42,10 +42,13 @@ for tb in "${tarballs[@]}"; do pack=${pack##*rpm_} pack=${pack/en-US/en} pack=${pack/-/_} + pack=${pack/en-US/en} if [[ ${tb} =~ helppack ]]; then - help_packs+=( ${pack/en-US/en} ) - else - lang_packs+=( ${pack/en-US/en} ) + pack=${pack/helppack_/} + help_packs+=( ${pack} ) + elif [[ ${tb} =~ langpack ]]; then + pack=${pack/langpack_/} + lang_packs+=( ${pack} ) fi done |