diff options
| author | Michel Etienne | 2014-11-14 16:18:55 +0100 |
|---|---|---|
| committer | Michel Etienne | 2014-11-14 16:18:55 +0100 |
| commit | 86dd4ee97dc091ea2e10f03690d8d0fc2eeb2471 (patch) | |
| tree | 3dd074a03c5416deab9e3adf8cebbabaab01680a /config/deploy.rb | |
| parent | 6087f644490469e07587dd17ad826760554f7e08 (diff) | |
| download | chouette-core-86dd4ee97dc091ea2e10f03690d8d0fc2eeb2471.tar.bz2 | |
deploy command corrections
Diffstat (limited to 'config/deploy.rb')
| -rw-r--r-- | config/deploy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 4fac14f02..1d5782462 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -68,7 +68,7 @@ namespace :deploy do run "mkdir -p /var/lib/chouette/exports" run "mkdir -p /var/lib/chouette/validations" run "mkdir -p /usr/local/opt/chouette-command/" - run "cd /usr/local/opt/chouette-command && rm chouette-gui-command-#{gui_cmd}.zip" + run "cd /usr/local/opt/chouette-command && rm -f chouette-gui-command-#{gui_cmd}.zip" 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 && unzip chouette-gui-command-#{gui_cmd}.zip" |
