This commit is contained in:
Onur Küçük
2006-07-07 12:23:15 +00:00
parent 87a5d8bbe0
commit dfc2e9e55e
+11 -12
View File
@@ -226,18 +226,17 @@ def configure_pending():
m = MetaData() m = MetaData()
metadata_path = util.join_path(pkg_path, ctx.const.metadata_xml) metadata_path = util.join_path(pkg_path, ctx.const.metadata_xml)
m.read(metadata_path) m.read(metadata_path)
for pcomar in m.package.providesComar: # FIXME: we need a full package info here!
scriptPath = util.join_path(pkg_path, pkginfo.name = x
ctx.const.comar_dir, ctx.ui.notify(pisi.ui.configuring, package = pkginfo, files = None)
pcomar.script) pisi.comariface.post_install(
comariface.register(pcomar, x, scriptPath) pkginfo.name,
# FIXME: we need a full package info here! m.package.providesComar,
# Eray, please fix this util.join_path(pkg_path, ctx.const.comar_dir),
# your wish is a command, darling -- eray util.join_path(pkg_path, ctx.const.metadata_xml),
pkginfo.name = x util.join_path(pkg_path, ctx.const.files_xml),
ctx.ui.notify(pisi.ui.configuring, package = pkginfo, files = None) )
comariface.run_postinstall(x) ctx.ui.notify(pisi.ui.configured, package = pkginfo, files = None)
ctx.ui.notify(pisi.ui.configured, package = pkginfo, files = None)
ctx.installdb.clear_pending(x) ctx.installdb.clear_pending(x)
except ImportError: except ImportError:
raise Error(_("comar package is not fully installed")) raise Error(_("comar package is not fully installed"))