eğer paket bir şekilde (mesela bypass-safety ile) kaldırılmış ama post-install'u çalıştırılmamışsa çalıştırmaya çalışma ve pending listesinden sil
This commit is contained in:
@@ -176,6 +176,7 @@ def configure_pending():
|
||||
try:
|
||||
import pisi.comariface as comariface
|
||||
for x in order:
|
||||
if ctx.installdb.is_installed(x):
|
||||
pkginfo = A[x]
|
||||
pkgname = util.package_name(x, pkginfo.version,
|
||||
pkginfo.release,
|
||||
|
||||
@@ -155,6 +155,7 @@ class InstallDB:
|
||||
def clear_pending(self, pkg):
|
||||
pkg = str(pkg)
|
||||
info = self.d[pkg]
|
||||
if self.is_installed(pkg):
|
||||
assert info.state == 'ip'
|
||||
info.state = 'i'
|
||||
self.d[pkg] = info
|
||||
|
||||
Reference in New Issue
Block a user