diff --git a/pisi/comariface.py b/pisi/comariface.py index 68e91be3..1bf0b1ed 100644 --- a/pisi/comariface.py +++ b/pisi/comariface.py @@ -2,10 +2,11 @@ import socket -def registerScript(om, scriptPath): +def registerScript(om, appname, scriptPath): s = socket.socket(socket.AF_UNIX,socket.SOCK_STREAM) s.connect("/tmp/comar") - cmd = '+' + om + ' ' + scriptPath + '\n' + cmd = '+' + om + ' ' + appname + ' ' +scriptPath + '\n' + print cmd s.send(cmd) s.close() return True diff --git a/pisi/install.py b/pisi/install.py index 809f0e05..6c7ad145 100644 --- a/pisi/install.py +++ b/pisi/install.py @@ -127,7 +127,8 @@ def install(package_fn): # something like the below? # import comariface # for comar int metadata.package.providesComar: - # comariface.register(comar.om, comar.script) + # scriptPath = .... + comar.script + # comariface.register(comar.om, metadata.package.name, scriptPath) # update databases