Fix Lint/DeprecatedClassMethods error in meshlab.rb

This commit is contained in:
Josh Hagins 2015-03-07 20:40:57 -05:00
parent e70e65831a
commit 53ff67d311
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ cask :v1 => 'meshlab' do
postflight do
# workaround for bug which breaks the app on case-sensitive filesystems
Dir.chdir("#{staged_path}/meshlab.app/Contents/MacOS") do
File.symlink("meshlab", "MeshLab") unless File.exists? "MeshLab"
File.symlink("meshlab", "MeshLab") unless File.exist? "MeshLab"
end
end
end