1 |
scarabeus 11/09/06 19:24:43 |
2 |
|
3 |
Modified: ChangeLog libreoffice-l10n-3.4.3-r1.ebuild |
4 |
Log: |
5 |
Die when there is no such dir with translations/help. |
6 |
|
7 |
(Portage version: 2.2.0_alpha53/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 app-office/libreoffice-l10n/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- ChangeLog 6 Sep 2011 12:51:49 -0000 1.5 |
23 |
+++ ChangeLog 6 Sep 2011 19:24:43 -0000 1.6 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for app-office/libreoffice-l10n |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.5 2011/09/06 12:51:49 scarabeus Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.6 2011/09/06 19:24:43 scarabeus Exp $ |
29 |
+ |
30 |
+ 06 Sep 2011; Tomáš Chvátal <scarabeus@g.o> |
31 |
+ libreoffice-l10n-3.4.3-r1.ebuild: |
32 |
+ Die when there is no such dir with translations/help. |
33 |
|
34 |
06 Sep 2011; Tomáš Chvátal <scarabeus@g.o> |
35 |
libreoffice-l10n-3.4.3-r1.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.3 app-office/libreoffice-l10n/libreoffice-l10n-3.4.3-r1.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3-r1.ebuild?rev=1.3&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3-r1.ebuild?rev=1.3&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3-r1.ebuild?r1=1.2&r2=1.3 |
44 |
|
45 |
Index: libreoffice-l10n-3.4.3-r1.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3-r1.ebuild,v |
48 |
retrieving revision 1.2 |
49 |
retrieving revision 1.3 |
50 |
diff -u -r1.2 -r1.3 |
51 |
--- libreoffice-l10n-3.4.3-r1.ebuild 6 Sep 2011 12:51:49 -0000 1.2 |
52 |
+++ libreoffice-l10n-3.4.3-r1.ebuild 6 Sep 2011 19:24:43 -0000 1.3 |
53 |
@@ -1,6 +1,6 @@ |
54 |
# Copyright 1999-2011 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3-r1.ebuild,v 1.2 2011/09/06 12:51:49 scarabeus Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3-r1.ebuild,v 1.3 2011/09/06 19:24:43 scarabeus Exp $ |
58 |
|
59 |
EAPI=4 |
60 |
|
61 |
@@ -75,6 +75,7 @@ |
62 |
# for english we provide just helppack, as translation is always there |
63 |
if [[ ${lang} != en ]]; then |
64 |
rpmdir="LibO_${PV}${RC_VERSION}_Linux_x86_langpack-rpm_${dir}/RPMS/" |
65 |
+ [[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
66 |
# First remove dictionaries, we want to use system ones. |
67 |
rm -rf "${S}/${rpmdir}/"*dict*.rpm |
68 |
rpm_unpack "./${rpmdir}/"*.rpm |
69 |
@@ -82,6 +83,7 @@ |
70 |
if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]] && use offlinehelp; then |
71 |
[[ ${lang} == en ]] && dir="en-US" |
72 |
rpmdir="LibO_${PV}${RC_VERSION}_Linux_x86_helppack-rpm_${dir}/RPMS/" |
73 |
+ [[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\"" |
74 |
rpm_unpack ./"${rpmdir}/"*.rpm |
75 |
fi |
76 |
done |