Commit d1b3c21
committed
Fix install_distro_packages() to return True when packages already installed
The function was returning False when all required packages were already
installed, which caused ensure_tool() to incorrectly raise RuntimeError.
This fix ensures the function returns True when packages are available,
regardless of whether they were just installed or already present.
Signed-off-by: Disha Goel <disgoel@linux.ibm.com>1 parent 43b9216 commit d1b3c21
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
| |||
0 commit comments