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.
15 lines
287 B
15 lines
287 B
5 years ago
|
#!/usr/bin/with-contenv bash
|
||
|
|
||
5 years ago
|
# update packages
|
||
|
apt-get update
|
||
|
apt-get upgrade -y
|
||
|
|
||
|
# update SMA from git
|
||
5 years ago
|
git -C ${SMA_PATH} reset --hard HEAD
|
||
5 years ago
|
git -C ${SMA_PATH} pull origin master
|
||
5 years ago
|
|
||
5 years ago
|
# update pip3 requirements
|
||
5 years ago
|
pip3 install -r /usr/local/sma/setup/requirements.txt --upgrade --user
|
||
5 years ago
|
|
||
5 years ago
|
exit 0
|