summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-01-08 12:16:32 -0500
committerMichael Orlitzky <mjo@gentoo.org>2016-01-08 12:16:32 -0500
commitb5940f040300a84e9ed321d22e6f110a05a631d6 (patch)
tree1ee3b28ac0c939ff3a9058ef23a6ee439bedf4d6
parentSplit sapi_active_link_path() into sapi_active_link_{names,dir}(). (diff)
downloadeselect-php-b5940f04.tar.gz
eselect-php-b5940f04.tar.bz2
eselect-php-b5940f04.zip
Whitespace cleanup.
-rw-r--r--src/php.eselect.in10
1 files 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
}