aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php')
-rw-r--r--net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php b/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php
new file mode 100644
index 000000000000..b12791032842
--- /dev/null
+++ b/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php
@@ -0,0 +1,11 @@
+--- LibreNMS/Util/Version.php.orig 2020-07-20 20:50:27 UTC
++++ LibreNMS/Util/Version.php
+@@ -92,7 +92,7 @@ class Version
+
+ public static function python()
+ {
+- $proc = new Process(['python3', '--version']);
++ $proc = new Process(['/usr/local/bin/python3', '--version']);
+ $proc->run();
+
+ if ($proc->getExitCode() !== 0) {