summaryrefslogtreecommitdiffstats
path: root/vagrant_support/bmo-checksetup.j2
blob: c35a323c355f5da8b126f13469933e2ebf96c956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

cd /vagrant

if [[ ! -f ~/localconfig || ! -f /data/params ]]; then
    perl checksetup.pl /home/vagrant/checksetup_answers.txt
    perl checksetup.pl /home/vagrant/checksetup_answers.txt
else
    cp ~/localconfig /vagrant
    perl checksetup.pl < /dev/null
    cp /vagrant/localconfig ~/
fi