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
|
||||
|
||||
# initialization
|
||||
if [ -d "vendor" ]; then
|
||||
rm -rf vendor/*
|
||||
else
|
||||
mkdir vendor
|
||||
fi
|
||||
|
||||
cd vendor
|
||||
|
||||
# Doctrine
|
||||
|
Reference in New Issue
Block a user