Skip to content

Commit

Permalink
anaconda.rb: use set_permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgalvao committed Oct 2, 2015
1 parent e2db7c2 commit 6fb3d5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Casks/anaconda.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cask :v1 => 'anaconda' do
cask :v1_2 => 'anaconda' do
version '2.3.0'
sha256 'c4bb59a57bf44dde80612041bbbcfd2e5cab8534842209ef456da7a46f919c33'

Expand All @@ -11,7 +11,7 @@
container :type => :naked

preflight do
system '/bin/chmod', '--', '755', "#{staged_path}/Anaconda-#{version}-MacOSX-x86_64.sh"
set_permissions "#{staged_path}/Anaconda-#{version}-MacOSX-x86_64.sh", '+x'
end

installer :script => "Anaconda-#{version}-MacOSX-x86_64.sh",
Expand Down

0 comments on commit 6fb3d5f

Please sign in to comment.