aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Etienne2014-11-14 13:22:23 +0100
committerMichel Etienne2014-11-14 13:22:23 +0100
commitf009c261ee551c60a8f3ec5ac54054ae6edc6b1f (patch)
tree53542d9b07eef2770f01e40c5d8f30e2197366c1
parentd795be5ec49e4ed04d03177469a1cc79b654cda6 (diff)
downloadchouette-core-f009c261ee551c60a8f3ec5ac54054ae6edc6b1f.tar.bz2
add java install
-rw-r--r--config/deploy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 68b087c17..2f4769623 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -69,9 +69,9 @@ namespace :deploy do
run "mkdir -p /var/lib/chouette/validations"
run "mkdir -p /usr/local/opt/chouette-command/"
run "cd /usr/local/opt/chouette-command && wget #{maven_repo}/fr/certu/chouette/chouette-gui-command/#{gui_cmd}/chouette-gui-command-#{gui_cmd}.zip"
- run "cd /usr/local/opt/chouette-command && rm -rf chouette-cmd-#{gui_cmd}"
+ run "cd /usr/local/opt/chouette-command && rm -rf chouette-cmd_#{gui_cmd}"
run "cd /usr/local/opt/chouette-command && unzip chouette-gui-command-#{gui_cmd}.zip"
- run "cd /usr/local/opt/chouette-command/chouette-cmd-#{gui_cmd} && chmod a+w ."
+ run "cd /usr/local/opt/chouette-command/chouette-cmd_#{gui_cmd} && chmod a+w . && sudo chgrp -R wheel ."
end
desc "Make group writable all deployed files"