Update 30-script-update.bash

pull/11/head
RandomNinjaAtk 4 years ago committed by GitHub
parent 4c4de7d32c
commit 6283d82a07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,16 +1,8 @@
#!/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
# update pip3 requirements
pip3 install -r /usr/local/sma/setup/requirements.txt --upgrade --user

Loading…
Cancel
Save