From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4F7E7138262 for ; Mon, 23 May 2016 11:33:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3746141E9; Mon, 23 May 2016 11:33:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C104141E9 for ; Mon, 23 May 2016 11:33:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7955D340C44 for ; Mon, 23 May 2016 11:33:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7A51984 for ; Mon, 23 May 2016 11:33:01 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1464003167.e55d050cdceaa145ae77120772450a2cf2e77f5f.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/shorewall/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-firewall/shorewall/shorewall-5.0.8.2.ebuild X-VCS-Directories: net-firewall/shorewall/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: e55d050cdceaa145ae77120772450a2cf2e77f5f X-VCS-Branch: master Date: Mon, 23 May 2016 11:33:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a13357e2-03c9-480b-8f97-80b893c9b8f4 X-Archives-Hash: ef93331d87c2eea92f4e2799644ab3af commit: e55d050cdceaa145ae77120772450a2cf2e77f5f Author: Göktürk Yüksek gentoo org> AuthorDate: Sat May 21 15:57:36 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon May 23 11:32:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e55d050c net-firewall/shorewall: bash syntax tidy replace POSIX '[' with the bash '[[' in 5.0.8.2 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1512 Signed-off-by: Ian Delaney gentoo.org> net-firewall/shorewall/shorewall-5.0.8.2.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net-firewall/shorewall/shorewall-5.0.8.2.ebuild b/net-firewall/shorewall/shorewall-5.0.8.2.ebuild index 96d62a2..afd5706 100644 --- a/net-firewall/shorewall/shorewall-5.0.8.2.ebuild +++ b/net-firewall/shorewall/shorewall-5.0.8.2.ebuild @@ -145,7 +145,7 @@ pkg_pretend() { } pkg_setup() { - if [ -n "${DIGEST}" ]; then + if [[ -n "${DIGEST}" ]]; then einfo "Unsetting environment variable \"DIGEST\" to prevent conflicts with package's \"install.sh\" script ..." unset DIGEST fi @@ -291,21 +291,21 @@ src_install() { DESTDIR="${D%/}" ${MY_PN_INIT}/install.sh shorewallrc.gentoo || die "${MY_PN_INIT}/install.sh failed" dodoc "${S}"/${MY_PN_INIT}/shorewall-init.README.Gentoo.txt - if [ -f "${D}etc/logrotate.d/shorewall-init" ]; then + if [[ -f "${D}etc/logrotate.d/shorewall-init" ]]; then # On Gentoo, shorewall-init will not create shorewall-ifupdown.log, # so we don't need a logrotate configuration file for shorewall-init einfo "Removing unused \"${D}etc/logrotate.d/shorewall-init\" ..." rm -rf "${D}"etc/logrotate.d/shorewall-init || die "Removing \"${D}etc/logrotate.d/shorewall-init\" failed" fi - if [ -d "${D}etc/NetworkManager" ]; then + if [[ -d "${D}etc/NetworkManager" ]]; then # On Gentoo, we don't support NetworkManager # so we don't need this folder at all einfo "Removing unused \"${D}etc/NetworkManager\" ..." rm -rf "${D}"etc/NetworkManager || die "Removing \"${D}etc/NetworkManager\" failed" fi - if [ -f "${D}usr/share/shorewall-init/ifupdown" ]; then + if [[ -f "${D}usr/share/shorewall-init/ifupdown" ]]; then # This script isn't supported on Gentoo rm -rf "${D}"usr/share/shorewall-init/ifupdown || die "Removing \"${D}usr/share/shorewall-init/ifupdown\" failed" fi