fix bash script
This commit is contained in:
parent
2d75f50a08
commit
31865ae3ea
@ -79,7 +79,7 @@ install_woocommerce() {
|
|||||||
if [[ $WC_VERSION -ne 'latest' ]]; then
|
if [[ $WC_VERSION -ne 'latest' ]]; then
|
||||||
git checkout $WC_VERSION
|
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
|
if [[ ${version[0]} -ge 3 && ${version[1]} -ge 7 ]]; then
|
||||||
composer install
|
composer install
|
||||||
npm install
|
npm install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user