summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2003-10-13 19:32:46 +0000
committerCaleb Tennis <caleb@gentoo.org>2003-10-13 19:32:46 +0000
commit6a569c2ac207d2a6dc654e32bdfa2d958f51e0b8 (patch)
treeef87442751b6eae568d804c3e391aa9ef54348fe
parentAdded a patch to allow compilation on 2.6x kernels, Bug #29636... (diff)
downloadhistorical-6a569c2ac207d2a6dc654e32bdfa2d958f51e0b8.tar.gz
historical-6a569c2ac207d2a6dc654e32bdfa2d958f51e0b8.tar.bz2
historical-6a569c2ac207d2a6dc654e32bdfa2d958f51e0b8.zip
add a warning if no linguas is setup
-rw-r--r--kde-base/kde-i18n/Manifest2
-rw-r--r--kde-base/kde-i18n/kde-i18n-3.1.4.ebuild12
2 files changed, 11 insertions, 3 deletions
diff --git a/kde-base/kde-i18n/Manifest b/kde-base/kde-i18n/Manifest
index c51dc3cd7c61..990029f95d95 100644
--- a/kde-base/kde-i18n/Manifest
+++ b/kde-base/kde-i18n/Manifest
@@ -1,4 +1,4 @@
-MD5 192a6e61dd9640ae8d40b30c745ac15d kde-i18n-3.1.4.ebuild 1336
+MD5 0ce7b263e142377775340d8d9915f8da kde-i18n-3.1.4.ebuild 1547
MD5 6204f127eaf82c1f53b73d19e97b5d4a ChangeLog 581
MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161
MD5 47b8fcf8ee830e187b7229adfd3e7b1d files/digest-kde-i18n-3.1.4 3708
diff --git a/kde-base/kde-i18n/kde-i18n-3.1.4.ebuild b/kde-base/kde-i18n/kde-i18n-3.1.4.ebuild
index 64f17f0b01e8..5819d5aa30d4 100644
--- a/kde-base/kde-i18n/kde-i18n-3.1.4.ebuild
+++ b/kde-base/kde-i18n/kde-i18n-3.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-i18n/kde-i18n-3.1.4.ebuild,v 1.6 2003/10/13 16:03:30 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-i18n/kde-i18n-3.1.4.ebuild,v 1.7 2003/10/13 19:32:32 caleb Exp $
inherit kde
need-kde ${PV}
@@ -31,8 +31,16 @@ do
done
-
src_unpack() {
+
+ if [ -z ${LINGUAS} ]; then
+ ewarn
+ ewarn "You must define a LINGUAS environment variable that contains a list"
+ ewarn "of the country codes for which languages you would like to install."
+ ewarn
+ die
+ fi
+
base_src_unpack unpack
}