remove script şeysi de olsun...
This commit is contained in:
@@ -80,9 +80,9 @@ Legend:
|
|||||||
- comar OM information (Provides)
|
- comar OM information (Provides)
|
||||||
- easy package preparation
|
- easy package preparation
|
||||||
/ convert ebuild to pisi
|
/ convert ebuild to pisi
|
||||||
- COMAR interface
|
/ COMAR interface
|
||||||
? what do we need to specify in a package? (Provides only?)
|
+ what do we need to specify in a package.
|
||||||
- package install: register config script
|
/ package install: register config script
|
||||||
- package remove: unregister config script
|
- package remove: unregister config script
|
||||||
- internet installation
|
- internet installation
|
||||||
/ support URI's whereever a filename is supported
|
/ support URI's whereever a filename is supported
|
||||||
|
|||||||
@@ -11,6 +11,14 @@ def registerScript(om, appname, scriptPath):
|
|||||||
s.close()
|
s.close()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
def removeScript(appname):
|
||||||
|
s = socket.socket(socket.AF_UNIX,socket.SOCK_STREAM)
|
||||||
|
s.connect("/tmp/comar")
|
||||||
|
cmd = "-" + appname + '\n'
|
||||||
|
s.send(cmd)
|
||||||
|
s.close()
|
||||||
|
return True
|
||||||
|
|
||||||
def call(om):
|
def call(om):
|
||||||
s = socket.socket(socket.AF_UNIX,socket.SOCK_STREAM)
|
s = socket.socket(socket.AF_UNIX,socket.SOCK_STREAM)
|
||||||
s.connect("/tmp/comar")
|
s.connect("/tmp/comar")
|
||||||
|
|||||||
Reference in New Issue
Block a user