Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
0c44e021
Commit
0c44e021
authored
Mar 09, 2021
by
vincowl
Committed by
GitHub
Mar 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update vim.rb
Avoid new vim version to crash chromebrew
parent
245e24a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
packages/vim.rb
packages/vim.rb
+1
-1
No files found.
packages/vim.rb
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment