Commit graph

4 commits

Author SHA1 Message Date
Shaun Zinck
835d7e9bc8 pkgin: add stdout to error message when shell commands fail 2013-01-25 16:58:29 -06:00
Shaun Zinck
a25575cee9 pkgin: use module.run_command to run stuff
This also fixes an issue where some console output for packages I was
installing was creating invalid JSON because it contained single-quotes.
2013-01-25 16:48:58 -06:00
Shaun Zinck
dd67e5c36f pkgin: change install/remove to not use return code of pkgin
pkgin always returns 0 so can't be used to tell if the install or remove
worked.  Instead this just queries the installed packages after
performing an operation.
2013-01-24 19:58:31 -06:00
Shaun Zinck
28fa7389b1 added first version of pkgin, just does install, remove (for SmartOS) 2013-01-23 22:10:11 -06:00