projects
/
fusionforge
/
fusionforge.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
testsuite: clarify: factor out common deb/rpm code, move common vm/testsuite install...
[fusionforge/fusionforge.git]
/
autoinstall
/
update.sh
1
#!/bin/bash
2
3
# First, make sure the distro is up-to-date
4
if [ -e /etc/debian_version ]; then
5
aptitude update
6
aptitude -y dist-upgrade
7
else
8
yum upgrade
9
fi
10
11
set -e
12
13
# Then update the checked-out sources of FusionForge
14
cd /usr/src/fusionforge/
15
git pull