Commit Graph

8 Commits (76d5b9640623064bf3b006cfb05f9f84c58b2df0)

Author SHA1 Message Date
Michael DeHaan 81b4ebbe1d Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 11 years ago
James Tanner ba0fec4f42 Force command action to not be executed by the shell unless specifically enabled 11 years ago
James Tanner ad837709bd Addresses #5023 Fix import comments 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Michael Scherer d66027ba7a return failed if a package couldn't be installed
For some reason, on my test mandriva, urpmi --force return 0
even when it cannot install a rpm. So we have to explicitely check
if the package was properly installed with a loop
11 years ago
Michael Scherer 0d8b81cd95 optionally use rpm python module instead of calling a
external executable, to avoid the cost of forking.
Since python-rpm is not automatically present, we still fallback
on the slower rpm fork method.
11 years ago
Michael Scherer 9482815b71 Fix behavior of urpmi module where it always return "changed"
even when a package is already installed, since urpmi will
always return 0 wether it install or not.
11 years ago
Philippe Makowski 38a2ee7751 urpmi module 11 years ago