James Tanner
38edad70ac
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
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
2013-11-18 00:22:54 +01:00
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.
2013-11-17 15:37:30 +01:00
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.
2013-11-17 15:37:30 +01:00
Philippe Makowski
44665ee839
urpmi module
2013-11-08 21:43:19 +01:00