Merge pull request #1715 from alfredo-gimenez/bugfix/vim
Fix vim package.
This commit is contained in:
commit
ea6143402f
1 changed files with 3 additions and 3 deletions
|
@ -71,14 +71,14 @@ def install(self, spec, prefix):
|
||||||
for fs in self.feature_sets:
|
for fs in self.feature_sets:
|
||||||
if "+" + fs in spec:
|
if "+" + fs in spec:
|
||||||
if feature_set is not None:
|
if feature_set is not None:
|
||||||
tty.error(
|
raise InstallError(
|
||||||
"Only one feature set allowed, specified %s and %s"
|
"Only one feature set allowed, specified %s and %s"
|
||||||
% (feature_set, fs))
|
% (feature_set, fs))
|
||||||
feature_set = fs
|
feature_set = fs
|
||||||
if '+gui' in spec:
|
if '+gui' in spec:
|
||||||
if feature_set is not None:
|
if feature_set is not None:
|
||||||
if feature_set is not 'huge':
|
if feature_set != 'huge':
|
||||||
tty.error(
|
raise InstallError(
|
||||||
"+gui variant requires 'huge' feature set, "
|
"+gui variant requires 'huge' feature set, "
|
||||||
"%s was specified" % feature_set)
|
"%s was specified" % feature_set)
|
||||||
feature_set = 'huge'
|
feature_set = 'huge'
|
||||||
|
|
Loading…
Reference in a new issue