/[BackupPC]/trunk/bin/BackupPC_archive
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/bin/BackupPC_archive

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

revision 315 by dpavlin, Wed Jun 22 19:12:42 2005 UTC revision 316 by dpavlin, Mon Jan 30 13:37:17 2006 UTC
# Line 29  Line 29 
29  #  #
30  #========================================================================  #========================================================================
31  #  #
32  # Version 2.1.0, released 20 Jun 2004.  # Version 2.1.2, released 5 Sep 2005.
33  #  #
34  # See http://backuppc.sourceforge.net.  # See http://backuppc.sourceforge.net.
35  #  #
# Line 139  if ( $Conf{ClientNameAlias} ne "" ) { Line 139  if ( $Conf{ClientNameAlias} ne "" ) {
139  #  #
140  # Setup file extension for compression and open ArchiveLOG output file  # Setup file extension for compression and open ArchiveLOG output file
141  #  #
142  $Conf{CompressLevel} = 0 if ( !BackupPC::FileZIO->compOk );  if ( $Conf{CompressLevel} && !BackupPC::FileZIO->compOk ) {
143        $stat{hostError} = "Compress::Zlib not found";
144        exit(ArchiveCleanup($client));
145    }
146  my $fileExt = $Conf{CompressLevel} > 0 ? ".z" : "";  my $fileExt = $Conf{CompressLevel} > 0 ? ".z" : "";
147  my $ArchiveLOG = BackupPC::FileZIO->open("$Dir/ArchiveLOG$fileExt", 1,  my $ArchiveLOG = BackupPC::FileZIO->open("$Dir/ArchiveLOG$fileExt", 1,
148                                       $Conf{CompressLevel});                                       $Conf{CompressLevel});

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

  ViewVC Help
Powered by ViewVC 1.1.26