Commit Graph

6 Commits (94506632d84dc39def32739dd7324d3a81cc5056)

Author SHA1 Message Date
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