Commit fc6a978a authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #5371 from vincowl/patch-1

Avoid new vim version to crash chromebrew
parents 245e24a6 0c44e021
...@@ -25,7 +25,7 @@ class Vim < Package ...@@ -25,7 +25,7 @@ class Vim < Package
depends_on 'vim_runtime' depends_on 'vim_runtime'
def self.preflight def self.preflight
abort('Please remove libiconv before building.') if File.exist?("#{CREW_LIB_PREFIX}/libcharset.so" abort('Please remove libiconv before building.') if File.exist?("#{CREW_LIB_PREFIX}/libcharset.so")
gvim = `which gvim 2> /dev/null`.chomp gvim = `which gvim 2> /dev/null`.chomp
abort "gvim version #{version} already installed.".lightgreen unless gvim.to_s == '' abort "gvim version #{version} already installed.".lightgreen unless gvim.to_s == ''
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment