fix install_vendors.sh file to check if vendor folder exist
This commit is contained in:
parent
99c33cadf0
commit
4d3119e0fe
@ -1,7 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# initialization
|
# initialization
|
||||||
rm -rf vendor/*
|
if [ -d "vendor" ]; then
|
||||||
|
rm -rf vendor/*
|
||||||
|
else
|
||||||
|
mkdir vendor
|
||||||
|
fi
|
||||||
|
|
||||||
cd vendor
|
cd vendor
|
||||||
|
|
||||||
# Doctrine
|
# Doctrine
|
||||||
|
Reference in New Issue
Block a user