Commit Graph

8 Commits (806052a9e583c201931fc4a112e529dbfb55bcf6)

Author SHA1 Message Date
Michael DeHaan d4d87c420f Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 11 years ago
James Tanner fc33860e5d Force command action to not be executed by the shell unless specifically enabled 11 years ago
James Tanner 4f9aadcc07 Addresses #5023 Fix import comments 11 years ago
James Tanner 38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Michael Scherer b85d40d5ae 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 1663f5bc06 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 aeac92de65 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 44665ee839 urpmi module 11 years ago