4190d34
Index: BackupPC-4.4.0/configure.pl
4190d34
===================================================================
4190d34
--- BackupPC-4.4.0.orig/configure.pl
4190d34
+++ BackupPC-4.4.0/configure.pl
4190d34
@@ -946,7 +946,7 @@ sub DoInstall
d51543e
     # Create install directories
d51543e
     #
fbea894
     foreach my $dir ( qw(bin
4190d34
-        share share/doc share/doc/BackupPC
4190d34
+        doc
4190d34
         lib lib/BackupPC
4190d34
         lib/BackupPC/CGI
4190d34
         lib/BackupPC/Config
4190d34
@@ -1074,13 +1074,13 @@ sub DoInstall
d51543e
     print("Making Apache configuration file for suid-perl\n");
d51543e
     InstallFile("httpd/src/BackupPC.conf", "httpd/BackupPC.conf", 0644);
d51543e
 
d51543e
-    print("Installing docs in $DestDir$Conf{InstallDir}/share/doc/BackupPC\n");
d51543e
+    print("Installing docs in $DestDir$Conf{InstallDir}/doc\n");
d51543e
     foreach my $doc ( qw(BackupPC.pod BackupPC.html) ) {
d51543e
-        InstallFile("doc/$doc", "$DestDir$Conf{InstallDir}/share/doc/BackupPC/$doc", 0444);
d51543e
+        InstallFile("doc/$doc", "$DestDir$Conf{InstallDir}/doc/$doc", 0444);
d51543e
         #
d51543e
         # clean up files from old directory
d51543e
         #
d51543e
-        unlink("$DestDir$Conf{InstallDir}/doc/$doc") if ( -f "$DestDir$Conf{InstallDir}/doc/$doc" );
d51543e
+        #unlink("$DestDir$Conf{InstallDir}/doc/$doc") if ( -f "$DestDir$Conf{InstallDir}/doc/$doc" );
d51543e
     }
d51543e
     #
d51543e
     # clean up old directory (ok if it quietly fails if there are other files in that directory)
4190d34
Index: BackupPC-4.4.0/lib/BackupPC/CGI/View.pm
4190d34
===================================================================
4190d34
--- BackupPC-4.4.0.orig/lib/BackupPC/CGI/View.pm
4190d34
+++ BackupPC-4.4.0/lib/BackupPC/CGI/View.pm
4190d34
@@ -104,7 +104,7 @@ sub action
4190d34
         $file      = $bpc->ConfDir() . "/hosts";
d51543e
         $linkHosts = 1;
d51543e
     } elsif ( $type eq "docs" ) {
d51543e
-        $file = $bpc->InstallDir() . "/share/doc/BackupPC/BackupPC.html";
d51543e
+        $file = $bpc->InstallDir() . "/doc/BackupPC.html";
d51543e
     } elsif ( $host ne "" ) {
d51543e
         if ( !defined($In{num}) ) {
4190d34