* 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:
+2
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user