Commit 0c44e021 authored by vincowl's avatar vincowl Committed by GitHub

Update vim.rb

Avoid new vim version to crash chromebrew
parent 245e24a6
......@@ -25,7 +25,7 @@ class Vim < Package
depends_on 'vim_runtime'
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
abort "gvim version #{version} already installed.".lightgreen unless gvim.to_s == ''
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