summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 22:11:01 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 22:11:01 +0000
commitb28421511fd0b8728df69d5a19f31b817228dd37 (patch)
tree269cabb0e799affe51f705444cae7dc4d619db0a /app-office
parentx86 stable wrt bug 169837 (diff)
downloadgentoo-2-b28421511fd0b8728df69d5a19f31b817228dd37.tar.gz
gentoo-2-b28421511fd0b8728df69d5a19f31b817228dd37.tar.bz2
gentoo-2-b28421511fd0b8728df69d5a19f31b817228dd37.zip
Change all instances of [ to [[.
(Portage version: 2.1.2.1)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice-bin/ChangeLog6
-rw-r--r--app-office/openoffice-bin/openoffice-bin-2.1.0.ebuild10
2 files changed, 10 insertions, 6 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog
index 3d4972f10abf..857d3ed34dc7 100644
--- a/app-office/openoffice-bin/ChangeLog
+++ b/app-office/openoffice-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/openoffice-bin
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.155 2007/01/25 05:33:46 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.156 2007/03/07 22:11:01 wolf31o2 Exp $
+
+ 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ openoffice-bin-2.1.0.ebuild:
+ Change all instances of [ to [[.
25 Jan 2007; Marius Mauch <genone@gentoo.org> openoffice-bin-2.1.0.ebuild:
Replacing einfo with elog
diff --git a/app-office/openoffice-bin/openoffice-bin-2.1.0.ebuild b/app-office/openoffice-bin/openoffice-bin-2.1.0.ebuild
index ac8616958c65..ec90bb20e7d2 100644
--- a/app-office/openoffice-bin/openoffice-bin-2.1.0.ebuild
+++ b/app-office/openoffice-bin/openoffice-bin-2.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-2.1.0.ebuild,v 1.7 2007/01/25 05:33:46 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-2.1.0.ebuild,v 1.8 2007/03/07 22:11:01 wolf31o2 Exp $
inherit eutils fdo-mime rpm multilib
@@ -20,14 +20,14 @@ SRC_URI="mirror://openoffice/stable/${PV}/OOo_${PV}_LinuxIntel_install_en-US.tar
LANGS1="af as_IN be_BY bg bs ca cs cy da de el en en_GB"
for X in ${LANGS1} ; do
- [ ${X} != "en" ] && SRC_URI="${SRC_URI} linguas_${X}? ( http://oootranslation.services.openoffice.org/pub/OpenOffice.org-full/${MY_PV}/OOo_${MY_PV1}_LinuxIntel_langpack_${X/_/-}.tar.gz )"
+ [[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? ( http://oootranslation.services.openoffice.org/pub/OpenOffice.org-full/${MY_PV}/OOo_${MY_PV1}_LinuxIntel_langpack_${X/_/-}.tar.gz )"
IUSE="${IUSE} linguas_${X}"
done
LANGS2="en_ZA es et fa fi fr gu_IN he hi_IN hr hu it ja km ko lt mk ml_IN mr_IN nb nl nn nr ns or_IN pa_IN pl pt_BR ru rw sh_YU sk sl sr_CS st sv sw_TZ ta_IN te_IN tg th ti_ER tn tr ts ur_IN ve vi xh zh_CN zh_TW zu"
for Y in ${LANGS2} ; do
- [ ${Y} != "en" ] && SRC_URI="${SRC_URI} linguas_${Y}? ( http://oootranslation.services.openoffice.org/pub/OpenOffice.org-full/${MY_PV}/OOo_${MY_PV2}_LinuxIntel_langpack_${Y/_/-}.tar.gz )"
+ [[ ${Y} != "en" ]] && SRC_URI="${SRC_URI} linguas_${Y}? ( http://oootranslation.services.openoffice.org/pub/OpenOffice.org-full/${MY_PV}/OOo_${MY_PV2}_LinuxIntel_langpack_${Y/_/-}.tar.gz )"
IUSE="${IUSE} linguas_${Y}"
done
@@ -81,7 +81,7 @@ src_unpack() {
for i in ${LINGUAS}; do
i="${i/_/-}"
- if [ ${i} != "en" ] ; then
+ if [[ ${i} != "en" ]] ; then
LANGDIR="${WORKDIR}/${PACKED}_${i}.${BUILDID}/RPMS/"
rpm_unpack ${LANGDIR}/openoffice.org-${i}-${MY_PV3}.i586.rpm
rpm_unpack ${LANGDIR}/openoffice.org-${i}-help-${MY_PV3}.i586.rpm
@@ -150,7 +150,7 @@ pkg_postinst() {
eselect oodict update --libdir $(get_libdir)
- [ -x /sbin/chpax ] && [ -e /usr/lib/openoffice/program/soffice.bin ] && chpax -zm /usr/lib/openoffice/program/soffice.bin
+ [[ -x /sbin/chpax ]] && [[ -e /usr/lib/openoffice/program/soffice.bin ]] && chpax -zm /usr/lib/openoffice/program/soffice.bin
elog " To start OpenOffice.org, run:"
elog