/[BackupPC]/trunk/configure.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/configure.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 205 by dpavlin, Sat Oct 15 11:39:20 2005 UTC revision 316 by dpavlin, Mon Jan 30 13:37:17 2006 UTC
# Line 33  Line 33 
33  #  #
34  #========================================================================  #========================================================================
35  #  #
36  # Version 2.1.0, released 20 Jun 2004.  # Version 2.1.2, released 5 Sep 2005.
37  #  #
38  # See http://backuppc.sourceforge.net.  # See http://backuppc.sourceforge.net.
39  #  #
# Line 58  BackupPC cannot find the package $pkg, w Line 58  BackupPC cannot find the package $pkg, w
58  BackupPC distribution.  This probably means you did not cd to the  BackupPC distribution.  This probably means you did not cd to the
59  unpacked BackupPC distribution before running configure.pl, eg:  unpacked BackupPC distribution before running configure.pl, eg:
60    
61      cd BackupPC-2.1.0      cd BackupPC-2.1.2
62      ./configure.pl      ./configure.pl
63    
64  Please try again.  Please try again.
# Line 461  foreach my $dir ( qw(bin doc Line 461  foreach my $dir ( qw(bin doc
461  # Create CGI image directory  # Create CGI image directory
462  #  #
463  foreach my $dir ( ($Conf{CgiImageDir}) ) {  foreach my $dir ( ($Conf{CgiImageDir}) ) {
464      next if ( $dir eq "" || -d $dir );      next if ( $dir eq "" || -d "$DestDir$dir" );
465      mkpath("$DestDir$dir", 0, 0775);      mkpath("$DestDir$dir", 0, 0775);
466      if ( !-d "$DestDir$dir" || !chown($Uid, $Gid, "$DestDir$dir") ) {      if ( !-d "$DestDir$dir" || !chown($Uid, $Gid, "$DestDir$dir") ) {
467          die("Failed to create or chown $DestDir$dir");          die("Failed to create or chown $DestDir$dir");
# Line 550  if ( $Conf{CgiImageDir} ne "" ) { Line 550  if ( $Conf{CgiImageDir} ne "" ) {
550      #      #
551      # Install new CSS file, making a backup copy if necessary      # Install new CSS file, making a backup copy if necessary
552      #      #
553      my $cssBackup = "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css.pre-2.1.0";      my $cssBackup = "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css.pre-2.1.2";
554      if ( -f "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css" && !-f $cssBackup ) {      if ( -f "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css" && !-f $cssBackup ) {
555          rename("$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css", $cssBackup);          rename("$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css", $cssBackup);
556      }      }
# Line 697  if ( defined($Conf{SmbClientTimeout}) ) Line 697  if ( defined($Conf{SmbClientTimeout}) )
697      delete($Conf{SmbClientTimeout});      delete($Conf{SmbClientTimeout});
698  }  }
699    
700  my $confCopy = "$dest.pre-2.1.0";  my $confCopy = "$dest.pre-2.1.2";
701  if ( -f $dest && !-f $confCopy ) {  if ( -f $dest && !-f $confCopy ) {
702      #      #
703      # Make copy of config file, preserving ownership and modes      # Make copy of config file, preserving ownership and modes

Legend:
Removed from v.205  
changed lines
  Added in v.316

  ViewVC Help
Powered by ViewVC 1.1.26