Rename snippet 'get-php-major-version' to 'get-php-major-version.sh'..
This commit is contained in:
parent
588cf5ca2e
commit
14f062908f
@ -291,7 +291,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
|
||||
CURRENT_INSTALL_DIR="$(realpath ${WEB_BASE_DIR}/nextcloud)"
|
||||
|
@ -291,7 +291,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
CURRENT_INSTALL_DIR="$(realpath ${WEB_BASE_DIR}/nextcloud)"
|
||||
CURRENT_VERSION="$(basename $CURRENT_INSTALL_DIR | cut -d"-" -f2)"
|
||||
|
@ -291,7 +291,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
|
||||
CURRENT_INSTALL_DIR="$(realpath ${WEB_BASE_DIR}/nextcloud)"
|
||||
|
@ -423,7 +423,7 @@ fi
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
CURRENT_INSTALL_DIR=`realpath ${WEB_BASE_DIR}/nextcloud`
|
||||
CURRENT_DATA_DIR=`realpath ${WEB_BASE_DIR}/data`
|
||||
|
@ -304,7 +304,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
if [[ -x "/usr/local/php-${PHP_VERSION}/bin/php" ]] ; then
|
||||
PHP_BIN="/usr/local/php-${PHP_VERSION}/bin/php"
|
||||
|
@ -305,7 +305,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
if [[ -x "/usr/local/php-${PHP_VERSION}/bin/php" ]] ; then
|
||||
PHP_BIN="/usr/local/php-${PHP_VERSION}/bin/php"
|
||||
|
@ -304,7 +304,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
if [[ -x "/usr/local/php-${PHP_VERSION}/bin/php" ]] ; then
|
||||
PHP_BIN="/usr/local/php-${PHP_VERSION}/bin/php"
|
||||
|
@ -332,7 +332,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
CURRENT_INSTALL_DIR=`realpath ${WEB_BASE_DIR}/nextcloud`
|
||||
CURRENT_DATA_DIR=`realpath ${WEB_BASE_DIR}/data`
|
||||
|
@ -293,7 +293,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
echo ""
|
||||
echo -e " \033[32m--\033[m"
|
||||
|
@ -293,7 +293,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
|
||||
echo ""
|
||||
|
@ -298,7 +298,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
|
||||
|
||||
|
@ -383,7 +383,7 @@ source ${snippet_dir}/get-webservice-environment.sh
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version.sh
|
||||
|
||||
|
||||
# - Determin PHP binary
|
||||
|
Loading…
Reference in New Issue
Block a user