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
|
if [[ ${1} == "update" ]]; then
|
||||||
echo "Updating repos"
|
echo "Updating repos"
|
||||||
cd ${GIT_ROOT}/private/
|
if [[ -d ${GIT_ROOT}/private/ ]]; then
|
||||||
git pull origin main
|
cd ${GIT_ROOT}/private/
|
||||||
|
git pull origin main
|
||||||
|
fi
|
||||||
|
|
||||||
cd ${GIT_ROOT}
|
cd ${GIT_ROOT}
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
Loading…
Reference in New Issue