Merge branch 'master' into 'develop'

Master

See merge request sulinos/devel/inary!16
......@@ -41,7 +41,7 @@ def configure_pending(packages=None):
for x in order:
if installdb.has_package(x):
pkginfo = installdb.get_package(x)
ops_Dir=os.path.join(ctx.config.packages_dir(), "postoperations")
ops_Dir=installdb.package_path(x)
ctx.ui.notify(inary.ui.configuring, package=pkginfo, files=None)
inary.trigger.Trigger().postinstall(ops_Dir)
......
......@@ -37,8 +37,9 @@ def reconfigure(packages=None):
for x in order:
if installdb.has_package(x):
pkginfo = installdb.get_package(x)
ops_Dir=os.path.join(ctx.config.packages_dir(), "postoperations")
ops_Dir=installdb.package_path(x)
ctx.ui.notify(inary.ui.configuring, package=pkginfo, files=None)
print(ops_Dir)
inary.trigger.Trigger().postinstall(ops_Dir)
ctx.ui.notify(inary.ui.configured, package=pkginfo, files=None)
installdb.clear_pending(x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment