6 # Olivier BERGER <olivier.berger@it-sudparis.eu>
8 # This script will install the Debian packages to be tested which have been build inside the VM
10 # Prerequisite : running 'build.sh' and its prerequisites
16 if dpkg -l fusionforge-full | grep -q ^ii ; then
17 # Already installed, upgrading
18 /root/scripts/reload-db.sh
19 UCF_FORCE_CONFFNEW=yes LANG=C DEBIAN_FRONTEND=noninteractive aptitude -y dist-upgrade
21 # Initial installation
22 UCF_FORCE_CONFFNEW=yes LANG=C DEBIAN_FRONTEND=noninteractive aptitude -y install postgresql-8.4
23 UCF_FORCE_CONFFNEW=yes LANG=C DEBIAN_FRONTEND=noninteractive aptitude -y install gforge-db-postgresql
24 UCF_FORCE_CONFFNEW=yes LANG=C DEBIAN_FRONTEND=noninteractive aptitude -y install fusionforge-full
25 /usr/share/gforge/bin/forge_set_password admin myadmin
27 invoke-rc.d apache2 restart
28 su - postgres -c "pg_dump -Fc gforge" > /root/dump
29 echo "If you saw a message like 'Could not connect to database' above, don't worry, it's probably harmless."