Skip to content

Commit 799040b

Browse files
committed
Update buildbot scripts.
1 parent 508b5e9 commit 799040b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/buildpkg.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
#sudo rm -Rf ${HOME}/cadabra2
44
#git clone https://github.com/kpeeters/cadabra2
5+
if [ -f /etc/redhat-release ]; then
6+
echo "Updating .rpm system..."
7+
sudo yum update -y
8+
else
9+
echo "Updating .deb system..."
10+
sudo apt get update
11+
sudo apt get -y upgrade
12+
fi
13+
514
cd ${HOME}/cadabra2
615
sudo ls
716
git pull origin

0 commit comments

Comments
 (0)