commit | 27aca957d1dc826195db053d3ec01adb311f579d | [log] [tgz] |
---|---|---|
author | Ben Pastene <bpastene@chromium.org> | Wed Jan 16 19:09:42 2019 |
committer | Ben Pastene <bpastene@chromium.org> | Wed Jan 16 19:09:42 2019 |
tree | caad23cd01e258071d06c8a7116a6fe014a6c490 | |
parent | 1c395fcd9a4fd1fbf3d797e7936e8a5c41651f09 [diff] |
When uninstalling, use the output of 'pm path' instead of its exit code. On K, 'pm path' exits with an exit code of 0 for non existant packages. On M, it exits with an exit code of 1... So let's scan its output instead. Change-Id: I894509d5da509feb7819e4be06e8210a3d8f0d2e Reviewed-on: https://chromium-review.googlesource.com/c/1415711 Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>