kstrano 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/kstrano.rb +1 -1
  2. metadata +2 -2
data/lib/kstrano.rb CHANGED
@@ -202,7 +202,7 @@ before "symfony:cache:warmup", "symfony:cache:clear"
202
202
 
203
203
  # set the right permissions on the vendor folder ...
204
204
  after "symfony:composer:copy_vendors" do
205
- sudo "chown -R #{application}:#{application} #{latest_release}/vendor"
205
+ sudo "sh -c 'if [ -d #{latest_release}/vendor ] ; then chown -R #{application}:#{application} #{latest_release}/vendor; fi'"
206
206
  end
207
207
 
208
208
  # Before update_code:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kstrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-20 00:00:00.000000000 Z
12
+ date: 2013-02-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capifony