[fix][aur] optional dep install fails when it is based on another package

This commit is contained in:
Vinícius Moreira
2020-01-29 17:50:37 -03:00
parent c6a00ec2dd
commit 83fce04c5d
3 changed files with 17 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ def request_optional_deps(pkgname: str, pkg_mirrors: dict, watcher: ProcessWatch
view_opts = MultipleSelectComponent(label='',
options=opts,
default_options=None)
default_options=set(opts))
install = watcher.request_confirmation(title=i18n['arch.install.optdeps.request.title'],
body='<p>{}.</p><p>{}:</p>'.format(i18n['arch.install.optdeps.request.body'].format(bold(pkgname)), i18n['arch.install.optdeps.request.help']),