Add /usr/local/BackupPC/lib as lib dir for BackupPC scripts

Needed for manual install, from source
tags/zabbix-agent-addons-0.2.122-1
Daniel Berteaud 5 years ago
parent 844c2e3a3e
commit a02b5c780b
  1. 1
      zabbix_scripts/check_backuppc_sudo
  2. 1
      zabbix_scripts/disco_backuppc_sudo

@ -1,6 +1,7 @@
#!/usr/bin/perl #!/usr/bin/perl
use lib "/usr/share/BackupPC/lib"; use lib "/usr/share/BackupPC/lib";
use lib "/usr/local/BackupPC/lib";
use BackupPC::Lib; use BackupPC::Lib;
use BackupPC::CGI::Lib; use BackupPC::CGI::Lib;
use POSIX; use POSIX;

@ -1,6 +1,7 @@
#!/usr/bin/perl #!/usr/bin/perl
use lib "/usr/share/BackupPC/lib"; use lib "/usr/share/BackupPC/lib";
use lib "/usr/local/BackupPC/lib";
use BackupPC::Lib; use BackupPC::Lib;
use BackupPC::CGI::Lib; use BackupPC::CGI::Lib;
use POSIX; use POSIX;

Loading…
Cancel
Save