Move snippet snippet-get-php-major-version into snippet dir and also rename it to 'get-php-major-version'.
This commit is contained in:
@ -6,6 +6,7 @@ script_name="$(basename $(realpath $0))"
|
||||
script_dir="$(dirname $(realpath $0))"
|
||||
|
||||
conf_dir="${script_dir}/conf"
|
||||
snippet_dir="${script_dir}/snippets"
|
||||
|
||||
declare -a unsorted_website_arr
|
||||
declare -a website_arr
|
||||
@ -409,7 +410,7 @@ fi
|
||||
|
||||
# Check PHP Version
|
||||
#
|
||||
source ${script_dir}/snippet-get-php-major-version
|
||||
source ${snippet_dir}/get-php-major-version
|
||||
|
||||
CURRENT_INSTALL_DIR="$(realpath ${WEB_BASE_DIR}/nextcloud)"
|
||||
CURRENT_VERSION="$(basename $CURRENT_INSTALL_DIR | cut -d"-" -f2)"
|
||||
|
Reference in New Issue
Block a user