summaryrefslogtreecommitdiff
path: root/bin/debian-dev-setup
blob: 5e56385b17f5f5bb9e63799938e24579e9778782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
#
# Setup development environment.
#

# Default provisioner
if [ -x "/vagrant/puppet/bin/provision" ]; then
  /vagrant/puppet/bin/provision
  /vagrant/puppet/bin/deploy
elif [ -x "/home/user/code/debian/puppet/bin/provision" ]; then
  /home/user/code/debian/puppet/bin/provision
  /home/user/code/debian/puppet/bin/deploy
fi

# Parameter
PACKAGES="/var/data/distros/debian/packages"

# Required folders
mkdir -p $PACKAGES