aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy.rb
diff options
context:
space:
mode:
authorMichel Etienne2014-12-16 14:48:26 +0100
committerMichel Etienne2014-12-16 14:48:26 +0100
commit7130e32053655e437b984633300123fed0a8a736 (patch)
tree61dbefaaa0ee82520cf16d341c64f07b3d11f5c3 /config/deploy.rb
parentb775210ce113e039504dd42dd464a7e1eb25d847 (diff)
downloadchouette-core-7130e32053655e437b984633300123fed0a8a736.tar.bz2
prepare version 2.5.2
Diffstat (limited to 'config/deploy.rb')
-rw-r--r--config/deploy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 1d5782462..0f8a3f673 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -73,6 +73,8 @@ namespace :deploy do
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 . && sudo chgrp -R wheel ."
+ run "cd /usr/local/opt/chouette-command && rm -f chouette-cmd-current"
+ run "cd /usr/local/opt/chouette-command && ln -s chouette-cmd_#{gui_cmd} chouette-cmd-current"
end
desc "Make group writable all deployed files"