Kaydet (Commit) 72a4d291 authored tarafından Eray Özkural's avatar Eray Özkural

* fix: the pending flag is set also when comar is ignored (which might be taken…

* fix: the pending flag is set also when comar is ignored (which might be taken to imply that postinstall is postponed, but we don't have implications in Options right now...)

üst d09ab66e
......@@ -140,7 +140,8 @@ class InstallDB:
pkg = str(pkg)
if self.is_installed(pkg):
raise InstallDBError(_("Already installed"))
if ctx.config.get_option('postpone_postinstall'):
if ctx.config.get_option('ignore_comar') or \
ctx.config.get_option('postpone_postinstall'):
state = 'ip'
self.dp[pkg] = True
else:
......
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