projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove directories also
[BackupPC.git]
/
configure.pl
diff --git
a/configure.pl
b/configure.pl
index
115d780
..
03ac21f
100755
(executable)
--- a/
configure.pl
+++ b/
configure.pl
@@
-33,7
+33,7
@@
#
#========================================================================
#
#
#========================================================================
#
-# Version 2.1.
0, released 20 Jun 2004
.
+# Version 2.1.
2, released 5 Sep 2005
.
#
# See http://backuppc.sourceforge.net.
#
#
# See http://backuppc.sourceforge.net.
#
@@
-58,7
+58,7
@@
BackupPC cannot find the package $pkg, which is included in the
BackupPC distribution. This probably means you did not cd to the
unpacked BackupPC distribution before running configure.pl, eg:
BackupPC distribution. This probably means you did not cd to the
unpacked BackupPC distribution before running configure.pl, eg:
- cd BackupPC-2.1.
0
+ cd BackupPC-2.1.
2
./configure.pl
Please try again.
./configure.pl
Please try again.
@@
-461,7
+461,7
@@
foreach my $dir ( qw(bin doc
# Create CGI image directory
#
foreach my $dir ( ($Conf{CgiImageDir}) ) {
# Create CGI image directory
#
foreach my $dir ( ($Conf{CgiImageDir}) ) {
- next if ( $dir eq "" || -d
$dir
);
+ next if ( $dir eq "" || -d
"$DestDir$dir"
);
mkpath("$DestDir$dir", 0, 0775);
if ( !-d "$DestDir$dir" || !chown($Uid, $Gid, "$DestDir$dir") ) {
die("Failed to create or chown $DestDir$dir");
mkpath("$DestDir$dir", 0, 0775);
if ( !-d "$DestDir$dir" || !chown($Uid, $Gid, "$DestDir$dir") ) {
die("Failed to create or chown $DestDir$dir");
@@
-488,6
+488,7
@@
foreach my $prog ( qw(BackupPC BackupPC_dump BackupPC_link BackupPC_nightly
BackupPC_sendEmail BackupPC_tarCreate BackupPC_trashClean
BackupPC_tarExtract BackupPC_compressPool BackupPC_zcat
BackupPC_archive BackupPC_archiveHost
BackupPC_sendEmail BackupPC_tarCreate BackupPC_trashClean
BackupPC_tarExtract BackupPC_compressPool BackupPC_zcat
BackupPC_archive BackupPC_archiveHost
+ BackupPC_updatedb BackupPC_xls_report BackupPC_tarIncCreate BackupPC_incPartsUpdate BackupPC_burnArchiveCLI
BackupPC_restore BackupPC_serverMesg BackupPC_zipCreate ) ) {
InstallFile("bin/$prog", "$DestDir$Conf{InstallDir}/bin/$prog", 0555);
}
BackupPC_restore BackupPC_serverMesg BackupPC_zipCreate ) ) {
InstallFile("bin/$prog", "$DestDir$Conf{InstallDir}/bin/$prog", 0555);
}
@@
-532,6
+533,9
@@
foreach my $lib ( qw(
BackupPC/CGI/StopServer.pm
BackupPC/CGI/Summary.pm
BackupPC/CGI/View.pm
BackupPC/CGI/StopServer.pm
BackupPC/CGI/Summary.pm
BackupPC/CGI/View.pm
+ BackupPC/CGI/BurnMedia.pm
+ BackupPC/CGI/SearchArchives.pm
+ BackupPC/SearchLib.pm
) ) {
InstallFile("lib/$lib", "$DestDir$Conf{InstallDir}/lib/$lib", 0444);
}
) ) {
InstallFile("lib/$lib", "$DestDir$Conf{InstallDir}/lib/$lib", 0444);
}
@@
-546,12
+550,16
@@
if ( $Conf{CgiImageDir} ne "" ) {
#
# Install new CSS file, making a backup copy if necessary
#
#
# Install new CSS file, making a backup copy if necessary
#
- my $cssBackup = "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css.pre-2.1.
0
";
+ my $cssBackup = "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css.pre-2.1.
2
";
if ( -f "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css" && !-f $cssBackup ) {
rename("$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css", $cssBackup);
}
InstallFile("conf/BackupPC_stnd.css",
"$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css", 0444, 0);
if ( -f "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css" && !-f $cssBackup ) {
rename("$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css", $cssBackup);
}
InstallFile("conf/BackupPC_stnd.css",
"$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css", 0444, 0);
+ InstallFile("conf/BackupPC_lite.css",
+ "$DestDir$Conf{CgiImageDir}/BackupPC_lite.css", 0444, 0);
+ InstallFile("conf/archive.css",
+ "$DestDir$Conf{CgiImageDir}/archive.css", 0444, 0);
}
printf("Making init.d scripts\n");
}
printf("Making init.d scripts\n");
@@
-689,7
+697,7
@@
if ( defined($Conf{SmbClientTimeout}) ) {
delete($Conf{SmbClientTimeout});
}
delete($Conf{SmbClientTimeout});
}
-my $confCopy = "$dest.pre-2.1.
0
";
+my $confCopy = "$dest.pre-2.1.
2
";
if ( -f $dest && !-f $confCopy ) {
#
# Make copy of config file, preserving ownership and modes
if ( -f $dest && !-f $confCopy ) {
#
# Make copy of config file, preserving ownership and modes