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 964DB1388C4 for ; Fri, 8 Jan 2016 21:50:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D254E0810; Fri, 8 Jan 2016 21:50:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 830C121C003 for ; Fri, 8 Jan 2016 21:50:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9BB46340988 for ; Fri, 8 Jan 2016 21:50:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51A87D03 for ; Fri, 8 Jan 2016 21:50:23 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1452273392.b5940f040300a84e9ed321d22e6f110a05a631d6.mjo@gentoo> Subject: [gentoo-commits] proj/eselect-php:master commit in: src/ X-VCS-Repository: proj/eselect-php X-VCS-Files: src/php.eselect.in X-VCS-Directories: src/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: b5940f040300a84e9ed321d22e6f110a05a631d6 X-VCS-Branch: master Date: Fri, 8 Jan 2016 21:50:23 +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: 046dfb61-d40e-4997-8a6e-973612a9f96f X-Archives-Hash: bcd53c3159060954ed188c024a839e54 commit: b5940f040300a84e9ed321d22e6f110a05a631d6 Author: Michael Orlitzky gentoo org> AuthorDate: Fri Jan 8 17:16:32 2016 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Fri Jan 8 17:16:32 2016 +0000 URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=b5940f04 Whitespace cleanup. src/php.eselect.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/php.eselect.in b/src/php.eselect.in index 15792f3..aa681f0 100644 --- a/src/php.eselect.in +++ b/src/php.eselect.in @@ -32,7 +32,7 @@ sapi_active_link_names() { fpm) echo "php-fpm" ;; cgi) echo "php-cgi" ;; dbg) echo "phpdbg" ;; - *) die "invalid SAPI name: ${sapi}" ;; + *) die "invalid SAPI name: ${sapi}" ;; esac } @@ -62,7 +62,7 @@ sapi_active_link_dir() { fpm) echo "${bin_dir}" ;; cgi) echo "${bin_dir}" ;; dbg) echo "${bin_dir}" ;; - *) die "invalid SAPI name: ${sapi}" ;; + *) die "invalid SAPI name: ${sapi}" ;; esac } @@ -515,7 +515,7 @@ describe_update_options() { } do_update() { - check_module $1 + check_module $1 [[ -z ${2} || ( -z ${3} && ( ${2} == ifunset || ${2} == '--if-unset' ) ) ]] || \ die -q "Usage error" @@ -524,7 +524,7 @@ do_update() { return fi - update_sapi $1 || echo "Nothing to update" + update_sapi $1 || echo "Nothing to update" } ## cleanup action @@ -542,5 +542,5 @@ describe_cleanup_options() { } do_cleanup() { - cleanup_sapis + cleanup_sapis }