Fix minor error in ouput of script 'upgrade_roundcube.sh'.
This commit is contained in:
parent
86d6099516
commit
85ea900d18
@ -356,10 +356,11 @@ fi
|
||||
|
||||
# - Determin PHP of all installed versions
|
||||
# -
|
||||
echononl " Get major version of all installed PHP versions"
|
||||
if $PHP_DEBIAN_INSTALLATION ; then
|
||||
echononl " Get installed PHP versions"
|
||||
php_major_version="$(php --version | head -1 | cut -d' ' -f2 | cut -d '-' -f1 | cut -d'.' -f1,2)"
|
||||
else
|
||||
echononl " Get major version of all installed PHP versions"
|
||||
php_major_versions="$(find /usr/local/ -maxdepth 1 -mindepth 1 -type l -name "php-*" -print | cut -d "-" -f2 | sort)"
|
||||
if [[ -z "$php_major_versions" ]]; then
|
||||
echo_failed
|
||||
|
Loading…
Reference in New Issue
Block a user