summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-09-03 19:08:10 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-09-03 19:08:10 +0000
commit5057d2312c6a41d23600a0d80bb69a296441ba55 (patch)
tree2e98683a08c9e5cbe54decb1e6ef2b83e9716b4c
parentRemoving vunlerable ebuild (diff)
downloadgentoo-2-5057d2312c6a41d23600a0d80bb69a296441ba55.tar.gz
gentoo-2-5057d2312c6a41d23600a0d80bb69a296441ba55.tar.bz2
gentoo-2-5057d2312c6a41d23600a0d80bb69a296441ba55.zip
Fix the case with empty linguas.
(Portage version: 2.2.0_alpha52/cvs/Linux x86_64)
-rw-r--r--app-office/libreoffice-l10n/ChangeLog6
-rw-r--r--app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild10
2 files changed, 12 insertions, 4 deletions
diff --git a/app-office/libreoffice-l10n/ChangeLog b/app-office/libreoffice-l10n/ChangeLog
index f37df79ccba4..7e00b623be23 100644
--- a/app-office/libreoffice-l10n/ChangeLog
+++ b/app-office/libreoffice-l10n/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/libreoffice-l10n
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.1 2011/09/03 11:45:52 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.2 2011/09/03 19:08:10 scarabeus Exp $
+
+ 03 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ libreoffice-l10n-3.4.3.ebuild:
+ Fix the case with empty linguas.
*libreoffice-l10n-3.4.3 (03 Sep 2011)
diff --git a/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild b/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild
index 73d8b6e0b0ef..c3317658f416 100644
--- a/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild
+++ b/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild,v 1.1 2011/09/03 11:45:52 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild,v 1.2 2011/09/03 19:08:10 scarabeus Exp $
EAPI=4
@@ -84,6 +84,10 @@ src_configure() { :; }
src_compile() { :; }
src_install() {
- insinto /usr/$(get_libdir)/${PN/-l10n/}
- doins -r "${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/*
+ # Condition required for people that do not install anything eg no linguas
+ # or just english with no offlinehelp.
+ if [[ -d "${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/ ]] ; then
+ insinto /usr/$(get_libdir)/${PN/-l10n/}
+ doins -r "${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/*
+ fi
}