ports/sysutils/backuppc-devel/files/patch-lib__BackupPC__CGI__View.pm
Kurt Jaeger 8c87610bf5 New port: sysutils/backuppc-devel
BackupPC is a high-performance, enterprise-grade system for backing up
Linux, WinXX and MacOSX PCs and laptops to a server's disk.
BackupPC is highly configurable and easy to install and maintain.

WWW: http://backuppc.sourceforge.net

This is Version 4.0.0alpha3, please use with caution. On the other
hand, it is 10 month old, and the submitter is also the maintainer of
sysutils/backuppc.

PR:		183241
Submitted by:	Alexander Moisseev <moiseev@mezonplus.ru>
2014-10-23 17:48:35 +00:00

11 lines
499 B
Perl

--- ./lib/BackupPC/CGI/View.pm.orig 2014-09-03 14:15:03.000000000 +0400
+++ ./lib/BackupPC/CGI/View.pm 2014-09-03 14:15:20.000000000 +0400
@@ -102,7 +102,7 @@
$file = $bpc->ConfDir() . "/hosts";
$linkHosts = 1;
} elsif ( $type eq "docs" ) {
- $file = $bpc->InstallDir() . "/share/doc/BackupPC/BackupPC.html";
+ $file = "$Conf{CgiImageDir}/BackupPC.html";
} elsif ( $host ne "" ) {
if ( !defined($In{num}) ) {
# get the latest LOG file