Check if private folder exists on update
This commit is contained in:
parent
c2de6e3d23
commit
d3926e346e
|
@ -42,8 +42,10 @@ cd ${GIT_ROOT}
|
|||
|
||||
if [[ ${1} == "update" ]]; then
|
||||
echo "Updating repos"
|
||||
cd ${GIT_ROOT}/private/
|
||||
git pull origin main
|
||||
if [[ -d ${GIT_ROOT}/private/ ]]; then
|
||||
cd ${GIT_ROOT}/private/
|
||||
git pull origin main
|
||||
fi
|
||||
|
||||
cd ${GIT_ROOT}
|
||||
git pull origin main
|
||||
|
|
Loading…
Reference in New Issue