* 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...)

This commit is contained in:
Eray Özkural
2005-10-27 00:28:22 +00:00
parent d09ab66e8e
commit 72a4d291eb
+2 -1
View File
@@ -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: