Description: returns an array or a space separated list of all packages installed on a client
Parameter:
- client: the name of the client
- key: if it is not empty only packages that contain the key are returned
- arr: set to true if the result should be an array otherwise it's a string
- status: If set only returns packages of the given status
root
2015-09-06