biy biy
This commit is contained in:
+7
-8
@@ -226,17 +226,16 @@ 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:
|
|
||||||
scriptPath = util.join_path(pkg_path,
|
|
||||||
ctx.const.comar_dir,
|
|
||||||
pcomar.script)
|
|
||||||
comariface.register(pcomar, x, scriptPath)
|
|
||||||
# FIXME: we need a full package info here!
|
# FIXME: we need a full package info here!
|
||||||
# Eray, please fix this
|
|
||||||
# your wish is a command, darling -- eray
|
|
||||||
pkginfo.name = x
|
pkginfo.name = x
|
||||||
ctx.ui.notify(pisi.ui.configuring, package = pkginfo, files = None)
|
ctx.ui.notify(pisi.ui.configuring, package = pkginfo, files = None)
|
||||||
comariface.run_postinstall(x)
|
pisi.comariface.post_install(
|
||||||
|
pkginfo.name,
|
||||||
|
m.package.providesComar,
|
||||||
|
util.join_path(pkg_path, ctx.const.comar_dir),
|
||||||
|
util.join_path(pkg_path, ctx.const.metadata_xml),
|
||||||
|
util.join_path(pkg_path, ctx.const.files_xml),
|
||||||
|
)
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user