X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=makeDist;h=506fb5d32edd73eae0c7c7f9d223df0ee0398e42;hp=c2eac7412fee4d412a06a5cd0233115e1c2271c0;hb=16755c17628b28a58d75663d7541036344826961;hpb=c2b072c9ad558447fb73fedf0cad170214b7d80e diff --git a/makeDist b/makeDist index c2eac74..506fb5d 100755 --- a/makeDist +++ b/makeDist @@ -20,7 +20,7 @@ # Craig Barratt # # COPYRIGHT -# Copyright (C) 2001-2006 Craig Barratt +# Copyright (C) 2001-2007 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 @@ -53,8 +53,8 @@ die("BackupPC::Lib->new failed\n") umask(0022); -my $Version = "3.0.0"; -my $ReleaseDate = "28 Jan 2007"; +my $Version = "3.1.0"; +my $ReleaseDate = "15 Apr 2007"; my $DistDir = "dist/BackupPC-$Version"; my @PerlSrc = qw( @@ -223,8 +223,10 @@ foreach my $file ( (@PerlSrc, conf/hosts conf/BackupPC_stnd.css conf/BackupPC_stnd_orig.css + conf/sorttable.js init.d/README init.d/src/debian-backuppc + init.d/src/freebsd-backuppc init.d/src/gentoo-backuppc init.d/src/gentoo-backuppc.conf init.d/src/linux-backuppc @@ -290,6 +292,8 @@ sub InstallFile print OUT "$1'__TOPDIR__'$2\n"; } elsif ( $file =~ /Lib.pm/ && /^(\s*\$installDir\s*=\s*)'.*'(\s*if\s.*)/ ) { print OUT "$1'__INSTALLDIR__'$2\n"; + } elsif ( $file =~ /Lib.pm/ && /^(\s*ConfDir\s*=\>\s*\$confDir eq.*)'.*'(.*)/ ) { + print OUT "$1'__CONFDIR__'$2\n"; } elsif ( $file =~ /Lib.pm/ && /^(\s*my \$useFHS\s*=\s*)\d;/ ) { print OUT "${1}0;\n"; } elsif ( $file =~ /Lib.pm/ && /(.*Version *=> .*)'[\w\d\.]+',/ ) {