Update 30-script-update.bash

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent cb65b16cbc
commit 312dc405eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,9 +1,13 @@
#!/usr/bin/with-contenv bash
# update from git
if [[ "${UPDATE}" == "true" ]]; then
if [[ "${UPDATE_EXT}" == "TRUE" ]]; then
git -C ${SABSCRIPTS_PATH} reset --hard HEAD && \
git -C ${SABSCRIPTS_PATH} pull origin master && \
fi
# update from git
if [[ "${UDPATE_SMA}" == "TRUE" ]]; then
git -C ${SMA_PATH} reset --hard HEAD && \
git -C ${SMA_PATH} pull origin master
fi

Loading…
Cancel
Save