Permalink
Browse files

tweak installed packages

  • Loading branch information...
tbonfort committed Apr 25, 2014
1 parent eef2a3d commit cc34484d91609326dff830daef03bad39fc02b0d
Showing with 8 additions and 1 deletion.
  1. +3 −1 Vagrantfile
  2. +5 −0 scripts/vagrant/hub.sh
View
@@ -43,6 +43,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
"bison",
"flex",
"swig",
+ "rake",
"librsvg2-dev",
"libpng12-dev",
"libjpeg-dev",
@@ -72,9 +73,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
pkg_cmd << "apt-get install -q -y " + packageList.join(" ") << " ; "
config.vm.provision :shell, :inline => pkg_cmd
scripts = [
+ "hub.sh",
"mapserver.sh",
"postgis.sh"
];
- scripts.each { |script| config.vm.provision :shell, :path => "scripts/vagrant/" << script }
+ scripts.each { |script| config.vm.provision :shell, :path => "scripts/vagrant/" << script , :privileged => false}
end
end
View
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+git clone https://github.com/github/hub.git
+cd hub
+sudo rake install prefix=/usr/local

0 comments on commit cc34484

Please sign in to comment.