X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=configure.pl;h=03ac21fa15ecc8e367cde24fe7ba13d709d96f1f;hb=09ea59634d10f59a731a411a3cd8e0d6b2d6cd59;hp=e4a02d6c5b262e2fabf107790482062672b29dde;hpb=dc6f9aaf56cd4cc8074dd842072fe71148bcbb91;p=BackupPC.git diff --git a/configure.pl b/configure.pl index e4a02d6..03ac21f 100755 --- 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. # @@ -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: - cd BackupPC-2.1.0 + cd BackupPC-2.1.2 ./configure.pl Please try again. @@ -461,7 +461,7 @@ foreach my $dir ( qw(bin doc # 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"); @@ -550,7 +550,7 @@ if ( $Conf{CgiImageDir} ne "" ) { # # 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); } @@ -697,7 +697,7 @@ if ( defined($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