You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
353 B
16 lines
353 B
#!/usr/bin/with-contenv bash
|
|
|
|
# update from git
|
|
if [[ "${UPDATE_EXT}" == "TRUE" ]]; then
|
|
git -C ${SABSCRIPTS_PATH} reset --hard HEAD && \
|
|
git -C ${SABSCRIPTS_PATH} pull origin master
|
|
fi
|
|
|
|
# update from git
|
|
if [[ "${UPDATE_SMA}" == "TRUE" ]]; then
|
|
git -C ${SMA_PATH} reset --hard HEAD && \
|
|
git -C ${SMA_PATH} pull origin master
|
|
fi
|
|
|
|
exit 0
|