1 --- configure.pl.dist 2013-09-23 23:01:19.524743747 +0300
2 +++ configure.pl 2013-09-23 23:01:37.344567459 +0300
4 # config file to get all the defaults.
10 if ( $ConfigFileOK && -f "/etc/BackupPC/config.pl" ) {
11 $ConfigPath = "/etc/BackupPC/config.pl";
13 $bpc->{LogDir} = $Conf{LogDir} = "$Conf{TopDir}/log"
14 if ( $Conf{LogDir} eq '' );
16 - $bpc->{ConfDir} = $Conf{ConfDir} = $confDir;
17 + # Disable this as it's not really neccessary for this ebuild
18 + # $bpc->{ConfDir} = $Conf{ConfDir} = $confDir;
19 my $err = $bpc->ServerConnect($Conf{ServerHost}, $Conf{ServerPort}, 1);
23 if ( $Conf{CgiDir} =~ m{cgi-bin(/.*)} ) {
24 $Conf{CgiURL} = "'http://$Conf{ServerHost}/cgi-bin$1/BackupPC_Admin'";
26 - $Conf{CgiURL} = "'http://$Conf{ServerHost}/cgi-bin/BackupPC_Admin'";
27 + $Conf{CgiURL} = "'http://$Conf{ServerHost}/BackupPC_Admin'";