From a02b5c780b5cad8a13d623a35ce91d1d91e76c66 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 27 May 2020 16:50:50 +0200 Subject: [PATCH] Add /usr/local/BackupPC/lib as lib dir for BackupPC scripts Needed for manual install, from source --- zabbix_scripts/check_backuppc_sudo | 1 + zabbix_scripts/disco_backuppc_sudo | 1 + 2 files changed, 2 insertions(+) diff --git a/zabbix_scripts/check_backuppc_sudo b/zabbix_scripts/check_backuppc_sudo index 10fcc0e..6f98d47 100644 --- a/zabbix_scripts/check_backuppc_sudo +++ b/zabbix_scripts/check_backuppc_sudo @@ -1,6 +1,7 @@ #!/usr/bin/perl use lib "/usr/share/BackupPC/lib"; +use lib "/usr/local/BackupPC/lib"; use BackupPC::Lib; use BackupPC::CGI::Lib; use POSIX; diff --git a/zabbix_scripts/disco_backuppc_sudo b/zabbix_scripts/disco_backuppc_sudo index d8d3b7a..5ca1c15 100644 --- a/zabbix_scripts/disco_backuppc_sudo +++ b/zabbix_scripts/disco_backuppc_sudo @@ -1,6 +1,7 @@ #!/usr/bin/perl use lib "/usr/share/BackupPC/lib"; +use lib "/usr/local/BackupPC/lib"; use BackupPC::Lib; use BackupPC::CGI::Lib; use POSIX;