X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=makeDist;h=0a544778c39bb541da30d8579bbeba9be8efe0ab;hp=e31e844bcd7e65ed359c44f7738ef879ba3f9561;hb=375af98436b4cea9b325ce2aa00408737ac76bb0;hpb=413a691e291d5cedad214ea85e47191353128ee9 diff --git a/makeDist b/makeDist index e31e844..0a54477 100755 --- a/makeDist +++ b/makeDist @@ -16,7 +16,7 @@ # Craig Barratt # # COPYRIGHT -# Copyright (C) 2001-2003 Craig Barratt +# Copyright (C) 2001-2004 Craig Barratt # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -43,7 +43,7 @@ use Getopt::Std; umask(0022); my $Version = "2.1.0_CVS"; -my $ReleaseDate = "8 Feb 2004"; +my $ReleaseDate = "13 Mar 2004"; my $DistDir = "dist/BackupPC-$Version"; my @PerlSrc = qw( @@ -91,10 +91,12 @@ my @PerlSrc = qw( lib/BackupPC/Lang/en.pm lib/BackupPC/Lang/es.pm lib/BackupPC/Lang/fr.pm + lib/BackupPC/Lang/it.pm lib/BackupPC/Xfer/Archive.pm lib/BackupPC/Xfer/Smb.pm lib/BackupPC/Xfer/Tar.pm lib/BackupPC/Xfer/Rsync.pm + lib/BackupPC/Xfer/RsyncDigest.pm lib/BackupPC/Xfer/RsyncFileIO.pm lib/BackupPC/Zip/FileMember.pm cgi-bin/BackupPC_Admin @@ -113,10 +115,24 @@ my $ConfVars = {}; my $errCnt; $errCnt += CheckConfigParams("conf/config.pl", $ConfVars, 0); + +# +# These config parameters are not used in the code, so ignore them. +# $ConfVars->{BackupPCUser} = 2; -$ConfVars->{CgiDir} = 2; -$ConfVars->{InstallDir} = 2; -$ConfVars->{CgiImageDir} = 2; +$ConfVars->{CgiDir} = 2; +$ConfVars->{InstallDir} = 2; +$ConfVars->{CgiImageDir} = 2; + +# +# These config parameters are used in the code to be backward compatible, +# but are not present in the current config file, so ignore them. +# +$ConfVars->{BlackoutHourBegin} = 2; +$ConfVars->{BlackoutHourEnd} = 2; +$ConfVars->{BlackoutWeekDays} = 2; +$ConfVars->{RsyncLogLevel} = 2; + foreach my $file ( @PerlSrc ) { $errCnt += CheckConfigParams($file, $ConfVars, 1); } @@ -404,7 +420,7 @@ sub CheckLangTags my($en, $enVars) = LangParse("lib/BackupPC/Lang/en.pm"); my($errors); - foreach my $lang ( qw(fr.pm de.pm es.pm) ) { + foreach my $lang ( qw(fr.pm de.pm es.pm it.pm) ) { my($d, $dVars) = LangParse("lib/BackupPC/Lang/$lang"); foreach my $v1 ( @$en ) { my $v2 = shift(@$d);