summaryrefslogtreecommitdiff
path: root/sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-08-30 16:46:17 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-08-30 16:46:17 +0000
commitd321d6f032fdd98dc926b3f13a9b23761437e0e6 (patch)
treea5f4c021c64452d5fe600574123aed4f37dd745f /sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm
parentcad/alliance: Upgrade version 5.0.20090901 => 5.0.20120515, stage (diff)
sysutils/backuppc: copy required html file to WWWDIR
PR: 193059 Submitted by: maintainer
Diffstat (limited to 'sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm')
-rw-r--r--sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm b/sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm
new file mode 100644
index 000000000000..94ad75a787ed
--- /dev/null
+++ b/sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm
@@ -0,0 +1,11 @@
+--- ./lib/BackupPC/CGI/View.pm.orig 2014-08-30 15:21:07.000000000 +0400
++++ ./lib/BackupPC/CGI/View.pm 2014-08-30 15:21:18.000000000 +0400
+@@ -89,7 +89,7 @@
+ $file = $bpc->ConfDir() . "/hosts";
+ $linkHosts = 1;
+ } elsif ( $type eq "docs" ) {
+- $file = $bpc->InstallDir() . "/doc/BackupPC.html";
++ $file = "$Conf{CgiImageDir}/BackupPC.html";
+ } elsif ( $host ne "" ) {
+ if ( !defined($In{num}) ) {
+ # get the latest LOG file