summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/php-toolkit/files/php-select-modules/libapache.sh')
-rw-r--r--app-admin/php-toolkit/files/php-select-modules/libapache.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-admin/php-toolkit/files/php-select-modules/libapache.sh b/app-admin/php-toolkit/files/php-select-modules/libapache.sh
index 78fe008a7afa..a03f36410cfe 100644
--- a/app-admin/php-toolkit/files/php-select-modules/libapache.sh
+++ b/app-admin/php-toolkit/files/php-select-modules/libapache.sh
@@ -174,7 +174,7 @@ showApacheConf ()
# if we get here, then apache is configured for a mod_php ...
# is it one that is installed?
- chosen="$( echo $chosen | tr '[[:lower:]]' '[[:upper:]]' )"
+ chosen="$( echo $chosen | tr '[[:upper:]]' '[[:lower:]]' )"
for (( i = 0 ; i < ${#choices[@]} ; i = i + 1 )) ; do
if [[ ${choices[$i]} == $chosen ]] ; then
echo $chosen
@@ -209,7 +209,7 @@ testApacheConf ()
# if we get here, then apache is configured for a mod_php ...
# is it one that is installed?
- chosen="$( echo $chosen | tr '[[:lower:]]' '[[:upper:]]' )"
+ chosen="$( echo $chosen | tr '[[:upper:]]' '[[:lower:]]' )"
for (( i = 0 ; i < ${#choices[@]} ; i = i + 1 )) ; do
if [[ ${choices[$i]} == $chosen ]] ; then
# we have one installed; but is it what we want?