diff options
author | Caleb Tennis <caleb@gentoo.org> | 2003-10-13 19:32:46 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2003-10-13 19:32:46 +0000 |
commit | a043f6375e3270afff9a9075ca67dbdc7756fdc4 (patch) | |
tree | 91629ab5b69c0c64c3f59dd2bc3a58e457577bd3 /kde-base | |
parent | Added a patch to allow compilation on 2.6x kernels, Bug #29636... (diff) | |
download | gentoo-2-a043f6375e3270afff9a9075ca67dbdc7756fdc4.tar.gz gentoo-2-a043f6375e3270afff9a9075ca67dbdc7756fdc4.tar.bz2 gentoo-2-a043f6375e3270afff9a9075ca67dbdc7756fdc4.zip |
add a warning if no linguas is setup
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kde-i18n/Manifest | 2 | ||||
-rw-r--r-- | kde-base/kde-i18n/kde-i18n-3.1.4.ebuild | 12 |
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 } |