Rename snippet 'get-php-major-version' to 'get-php-major-version.sh'..

This commit is contained in:
Christoph 2023-08-02 23:17:45 +02:00
parent 588cf5ca2e
commit 14f062908f
13 changed files with 12 additions and 12 deletions

View File

@ -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)"

View File

@ -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)"

View File

@ -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)"

View File

@ -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`

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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`

View File

@ -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"

View File

@ -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 ""

View File

@ -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

View File

@ -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