From: Chris Gianelloni Date: Wed, 7 Mar 2007 22:14:31 +0000 (+0000) Subject: Change all instances of [ to [[. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2fe43b3848376d92a041eaa6e85e8278e427560b;p=gentoo.git Change all instances of [ to [[. Package-Manager: portage-2.1.2.1 --- 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 + openoffice-bin-2.1.0.ebuild: + Change all instances of [ to [[. 25 Jan 2007; Marius Mauch 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 diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog index 4814ec04a86c..40c1aed796b2 100644 --- a/app-office/openoffice/ChangeLog +++ b/app-office/openoffice/ChangeLog @@ -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 + openoffice-2.0.4.ebuild, openoffice-2.1.0.ebuild: + Change all instances of [ to [[. 07 Mar 2007; Andreas Proschofsky +files/2.1.0/detect-db4.5.diff: diff --git a/app-office/openoffice/openoffice-2.0.4.ebuild b/app-office/openoffice/openoffice-2.0.4.ebuild index 50464520b840..4c916d48878a 100644 --- a/app-office/openoffice/openoffice-2.0.4.ebuild +++ b/app-office/openoffice/openoffice-2.0.4.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/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 diff --git a/app-office/openoffice/openoffice-2.1.0.ebuild b/app-office/openoffice/openoffice-2.1.0.ebuild index 5ef704b2406f..e49d0002ea07 100644 --- a/app-office/openoffice/openoffice-2.1.0.ebuild +++ b/app-office/openoffice/openoffice-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/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