fix: [installer] Embarassing typo no1, 7.3!=7.4

pull/5843/head
Steve Clement 2020-04-30 19:41:34 +09:00
parent ce63b8c178
commit 5a0c500190
No known key found for this signature in database
GPG Key ID: 69A20F509BE4AEE9
2 changed files with 7 additions and 7 deletions

View File

@ -805,9 +805,9 @@ installDepsPhp73 () {
php-gd
}
# Installing core dependencies
# Installing dependencies
installDeps () {
debug "Installing core dependencies"
debug "Installing dependencies"
checkAptLock
sudo apt update
sudo apt install -qy etckeeper

View File

@ -282,17 +282,17 @@ installSupported () {
# Install PHP 7.2 Dependencies - functionLocation('INSTALL.ubuntu1804.md')
[[ -n $CORE ]] || [[ -n $ALL ]] && installDepsPhp72
elif [[ "$PHP_VER" == "7.3" ]]; then
# Install PHP 7.4 Dependencies - functionLocation('INSTALL.ubuntu2004.md')
[[ -n $CORE ]] || [[ -n $ALL ]] && installDepsPhp74
elif [[ "$PHP_VER" == "7.4" ]]; then
# Install PHP 7.3 Dependencies - functionLocation('generic/supportFunctions.md')
# Install PHP 7.3 Dependencies - functionLocation('INSTALL.ubuntu2004.md')
[[ -n $CORE ]] || [[ -n $ALL ]] && installDepsPhp73
elif [[ "$PHP_VER" == "7.4" ]]; then
# Install PHP 7.4 Dependencies - functionLocation('generic/supportFunctions.md')
[[ -n $CORE ]] || [[ -n $ALL ]] && installDepsPhp74
elif [[ "$PHP_VER" == "7.0" ]]; then
# Install PHP 7.0 Dependencies - functionLocation('generic/supportFunctions.md')
[[ -n $CORE ]] || [[ -n $ALL ]] && installDepsPhp70
fi
else
# Install PHP 7.2 Dependencies - functionLocation('INSTALL.ubuntu1804.md')
# Install PHP 7.2 Dependencies by dangerous default - functionLocation('INSTALL.ubuntu1804.md')
[[ -n $CORE ]] || [[ -n $ALL ]] && installDepsPhp72
fi
progress 4