| 178 | } |
| 179 | |
| 180 | bool ServiceInstaller::IsProgramInstalled(const std::string &pathName) { |
| 181 | return Shell::RunUserCommand(fmt::format("which {}", pathName)).exitCode == 0 || |
| 182 | Shell::RunUserCommand(fmt::format("systemctl cat {}", pathName)).exitCode == 0; |
| 183 | } |
nothing calls this directly
no outgoing calls
no test coverage detected