install-bindist.sh.in revision db479b48bd4d75423ed4a45e15b75089d1a8ad72
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Usage: install-bindist.sh [ServerRoot]
# This script installs the Apache binary distribution and
# was automatically created by binbuild.sh.
lmkdir()
{
path=""
mode=$2
set -- ${dirs}
for d in ${dirs}
do
path="${path}/$d"
if test ! -d "${path}" ; then
if test $? -ne 0 ; then
echo "Failed to create directory: ${path}"
exit 1
fi
fi
done
}
lcopy()
{
from=$1
to=$2
dmode=$3
fmode=$4
if test "X${fmode}" != X ; then
fi
if test "X${dmode}" != X ; then
fi
}
##
## determine path to (optional) Perl interpreter
##
perls='perl5 perl'
if test -f "${dir}/${pperl}" ; then
PERL="${dir}/${pperl}"
break
fi
fi
done
if test $found_perl = 1 ; then
break
fi
done
if [ .$1 = . ]
then
else
SR=$1
fi
echo "Installing binary distribution for platform @os@"
echo "into directory $SR ..."
then
fi
then
echo "[Preserving existing envvars settings.]"
else
fi
if [ $HAD_ENVVARS = yes ]
then
fi
then
echo "[Preserving existing configuration files.]"
else
fi
then
echo "[Preserving existing htdocs directory.]"
else
fi
then
echo "[Preserving existing error documents directory.]"
else
fi
if [ $HAD_ENVVARS = no ]
then
fi
echo "Ready."
echo " +--------------------------------------------------------+"
echo " | You now have successfully installed the Apache @ver@ |"
echo " | HTTP server. To verify that Apache actually works |"
echo " | correctly you should first check the (initially |"
echo " | created or preserved) configuration files: |"
echo " | |"
echo " | $SR/conf/httpd.conf"
echo " | |"
echo " | You should then be able to immediately fire up |"
echo " | Apache the first time by running: |"
echo " | |"
echo " | |"
echo " | Thanks for using Apache. The Apache Group |"
echo " | http://www.apache.org/ |"
echo " +--------------------------------------------------------+"
echo " "