python312Packages.llama-index: 0.12.9 -> 0.12.9.post1 (#371957)
[NixPkgs.git] / pkgs / by-name / li / librenms / broken-binary-paths.diff
blob6d98165bf7e6350be054829e3edd7a0bb3d9671d
1 diff --git a/app/ConfigRepository.php b/app/ConfigRepository.php
2 index 2d73cce81..b0110540b 100644
3 --- a/app/ConfigRepository.php
4 +++ b/app/ConfigRepository.php
5 @@ -444,13 +444,6 @@ class ConfigRepository
6 $this->persist('device_display_default', $display_value);
9 - // make sure we have full path to binaries in case PATH isn't set
10 - foreach (['fping', 'fping6', 'snmpgetnext', 'rrdtool', 'traceroute'] as $bin) {
11 - if (! is_executable($this->get($bin))) {
12 - $this->persist($bin, $this->locateBinary($bin));
13 - }
14 - }
16 if (! $this->has('rrdtool_version')) {
17 $this->persist('rrdtool_version', (new Version($this))->rrdtool());