Commit c32e4b0f authored by satmandu's avatar satmandu Committed by GitHub

gvim abort in preflight

parent c959ad6d
......@@ -25,10 +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")
end
def self.preinstall
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