1
0
mirror of synced 2025-02-21 01:13:13 +03:00

fix bash script

This commit is contained in:
Akolzin Dmitry 2020-03-02 14:03:56 +03:00
parent 2d75f50a08
commit 31865ae3ea

View File

@ -79,7 +79,7 @@ install_woocommerce() {
if [[ $WC_VERSION -ne 'latest' ]]; then
git checkout $WC_VERSION
version=$(echo $WC_VERSION | tr ".")
version=($(echo $WC_VERSION | tr "." "\n"))
if [[ ${version[0]} -ge 3 && ${version[1]} -ge 7 ]]; then
composer install
npm install