diff options
Diffstat (limited to 'config/deploy.rb')
| -rw-r--r-- | config/deploy.rb | 2 |
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" |
