no_install da gitsin
This commit is contained in:
+1
-4
@@ -96,10 +96,7 @@ to be downloaded from a repository containing sources.
|
||||
self.help()
|
||||
return
|
||||
|
||||
if self.options.no_install:
|
||||
self.init(database=True, write=False)
|
||||
else:
|
||||
self.init()
|
||||
self.init()
|
||||
|
||||
if ctx.get_option('package_format') not in Build.package_formats:
|
||||
raise Error(_('package_format must be one of %s ') % pisi.util.strlist(Build.package_formats))
|
||||
|
||||
@@ -514,9 +514,6 @@ class Builder:
|
||||
def fail():
|
||||
raise Error(_('Cannot build package due to unsatisfied build dependencies'))
|
||||
|
||||
if ctx.config.get_option('no_install'):
|
||||
fail()
|
||||
|
||||
if not ctx.config.get_option('ignore_dependency'):
|
||||
for dep in dep_unsatis:
|
||||
if not dependency.repo_satisfies_dep(dep):
|
||||
|
||||
Reference in New Issue
Block a user