Change all instances of [ to [[.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 7 Mar 2007 22:14:31 +0000 (22:14 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 7 Mar 2007 22:14:31 +0000 (22:14 +0000)
Package-Manager: portage-2.1.2.1

app-office/openoffice-bin/ChangeLog
app-office/openoffice-bin/openoffice-bin-2.1.0.ebuild
app-office/openoffice/ChangeLog
app-office/openoffice/openoffice-2.0.4.ebuild
app-office/openoffice/openoffice-2.1.0.ebuild

index 3d4972f10abf9cabc211096ed8c213f2ef7a8412..857d3ed34dc797170f2960629a0c3d79c685c88a 100644 (file)
@@ -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
index ac8616958c65a8b538f7114ba1d3dc0f4993f2fb..ec90bb20e7d232a1ab10fdd097c16909012dc8ff 100644 (file)
@@ -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
index 4814ec04a86c95598a74860a9f319ab145f4af02..40c1aed796b287c5296c25bc006b8c5235e9083d 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for app-office/openoffice
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.305 2007/03/07 06:14:33 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.306 2007/03/07 22:14:31 wolf31o2 Exp $
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+  openoffice-2.0.4.ebuild, openoffice-2.1.0.ebuild:
+  Change all instances of [ to [[.
 
   07 Mar 2007; Andreas Proschofsky <suka@gentoo.org>
   +files/2.1.0/detect-db4.5.diff:
index 50464520b840ef13e69326e6ea18b396938f06db..4c916d48878a8159cc680ce05e59c912234b73fc 100644 (file)
@@ -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/openoffice-2.0.4.ebuild,v 1.29 2007/01/25 05:31:42 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.0.4.ebuild,v 1.30 2007/03/07 22:14:31 wolf31o2 Exp $
 
 WANT_AUTOCONF="2.5"
 WANT_AUTOMAKE="1.9"
@@ -141,7 +141,7 @@ pkg_setup() {
 
        strip-linguas ${LANGS}
 
-       if [ -z "${LINGUAS}" ]; then
+       if [[ -z "${LINGUAS}" ]]; then
                export LINGUAS_OOO="en-US"
                ewarn
                ewarn " To get a localized build, set the according LINGUAS variable(s). "
@@ -228,7 +228,7 @@ src_compile() {
 
        # Should the build use multiprocessing? Not enabled by default, as it tends to break
        export JOBS="1"
-       if [ "${WANT_MP}" == "true" ]; then
+       if [[ "${WANT_MP}" == "true" ]]; then
                export JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"`
        fi
 
@@ -309,7 +309,7 @@ pkg_postinst() {
 
        eselect oodict update --libdir $(get_libdir)
 
-       [ -x /sbin/chpax ] && [ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ] && chpax -zm /usr/$(get_libdir)/openoffice/program/soffice.bin
+       [[ -x /sbin/chpax ]] && [[ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ]] && chpax -zm /usr/$(get_libdir)/openoffice/program/soffice.bin
 
        elog " To start OpenOffice.org, run:"
        elog
index 5ef704b2406fce6b0bb350e4a4bf5f8cbc1a26a6..e49d0002ea07946fa3b1f267f04f6e87eb7a8b92 100644 (file)
@@ -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/openoffice-2.1.0.ebuild,v 1.17 2007/03/06 19:04:22 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.1.0.ebuild,v 1.18 2007/03/07 22:14:31 wolf31o2 Exp $
 
 WANT_AUTOCONF="2.5"
 WANT_AUTOMAKE="1.9"
@@ -155,7 +155,7 @@ pkg_setup() {
 
        strip-linguas ${LANGS}
 
-       if [ -z "${LINGUAS}" ]; then
+       if [[ -z "${LINGUAS}" ]]; then
                export LINGUAS_OOO="en-US"
                ewarn
                ewarn " To get a localized build, set the according LINGUAS variable(s). "
@@ -267,7 +267,7 @@ src_compile() {
 
        # Should the build use multiprocessing? Not enabled by default, as it tends to break
        export JOBS="1"
-       if [ "${WANT_MP}" == "true" ]; then
+       if [[ "${WANT_MP}" == "true" ]]; then
                export JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"`
        fi
 
@@ -346,7 +346,7 @@ pkg_postinst() {
 
        eselect oodict update --libdir $(get_libdir)
 
-       [ -x /sbin/chpax ] && [ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ] && chpax -zm /usr/$(get_libdir)/openoffice/program/soffice.bin
+       [[ -x /sbin/chpax ]] && [[ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ]] && chpax -zm /usr/$(get_libdir)/openoffice/program/soffice.bin
 
        # Add available & useful jars to openoffice classpath
        use java && /usr/lib/openoffice/program/java-set-classpath $(java-config --classpath=jdbc-mysql 2>/dev/null) >/dev/null