summaryrefslogtreecommitdiff
path: root/bin/debian-dev-setup
diff options
context:
space:
mode:
Diffstat (limited to 'bin/debian-dev-setup')
-rwxr-xr-xbin/debian-dev-setup17
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/debian-dev-setup b/bin/debian-dev-setup
new file mode 100755
index 0000000..cc88ad9
--- /dev/null
+++ b/bin/debian-dev-setup
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# Setup development environment.
+#
+
+# Default provisioner
+if [ -x "/vagrant/puppet/bin/provision" ]; then
+ /vagrant/puppet/bin/provision
+elif [ -x "/home/user/code/debian/puppet/bin/provision" ]; then
+ /home/user/code/debian/puppet/bin/provision
+fi
+
+# Parameter
+PACKAGES="/var/data/apps/distros/debian/packages"
+
+# Required folders
+mkdir -p $PACKAGES