summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-07 23:59:04 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-07 23:59:04 +0000
commitc8b7731a255c194c73634bbeb9070221569f1917 (patch)
tree5f887416fb157893e5d24ba0062281bd13de2a64 /app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild
parentMoved gcc-hppa64 to kgcc64. (diff)
downloadgentoo-2-c8b7731a255c194c73634bbeb9070221569f1917.tar.gz
gentoo-2-c8b7731a255c194c73634bbeb9070221569f1917.tar.bz2
gentoo-2-c8b7731a255c194c73634bbeb9070221569f1917.zip
Check for validity of ${A} during unpack phase, not setup. Thanks to Fabio Erculani in bug #154409.
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild')
-rw-r--r--app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild b/app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild
index 00171e706c95..a025d3251ad3 100644
--- a/app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild
+++ b/app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild,v 1.6 2006/10/24 15:24:35 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/koffice-i18n/koffice-i18n-1.5.2.ebuild,v 1.7 2006/11/07 23:59:04 flameeyes Exp $
inherit kde
@@ -24,7 +24,7 @@ for X in ${LANGS}; do
IUSE="${IUSE} linguas_${X}"
done
-pkg_setup() {
+src_unpack() {
if [ -z "${A}" ]; then
echo
eerror "You must set the LINGUAS environment variable to a list of valid"
@@ -36,9 +36,7 @@ pkg_setup() {
echo
die
fi
-}
-src_unpack() {
unpack ${A}
}