summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2012-05-25 19:56:13 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2012-05-25 19:56:13 +0000
commitfba06bcab00ce618285fde10952e6ee13ccaaa2c (patch)
tree965b301f932cafce5d6b0eeb7fa8421a22cd13ce /eclass/vdr-plugin-2.eclass
parentVersion bump. (diff)
downloadgentoo-2-fba06bcab00ce618285fde10952e6ee13ccaaa2c.tar.gz
gentoo-2-fba06bcab00ce618285fde10952e6ee13ccaaa2c.tar.bz2
gentoo-2-fba06bcab00ce618285fde10952e6ee13ccaaa2c.zip
fixed install for locales if only LINGUAS=en
Diffstat (limited to 'eclass/vdr-plugin-2.eclass')
-rw-r--r--eclass/vdr-plugin-2.eclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass
index bd716d1972d9..86f388616848 100644
--- a/eclass/vdr-plugin-2.eclass
+++ b/eclass/vdr-plugin-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.4 2012/05/20 20:34:55 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.5 2012/05/25 19:56:13 hd_brummy Exp $
# @ECLASS: vdr-plugin-2.eclass
# @MAINTAINER:
@@ -556,8 +556,11 @@ vdr-plugin-2_src_install() {
if [[ -d ${TMP_LOCALE_DIR} ]]; then
einfo "Installing locales"
cd "${TMP_LOCALE_DIR}"
- insinto "${LOCDIR}"
- doins -r *
+ local linguas
+ for linguas in ${LINGUAS[*]}; do
+ insinto "${LOCDIR}"
+ cp -r --parents ${linguas}* ${D}/${LOCDIR}
+ done
fi
cd "${S}"