X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=configure.pl;h=b98bccc96c38a3b9078d115ff2b812e53a99763b;hb=74dc9d456332757127d5eda4ce32f29377133fa2;hp=262e7b38a58242abe17737f01b42a62062465e92;hpb=b6e98cb4e11dcc0d73163ee57509aeec2b6013d3;p=BackupPC.git diff --git a/configure.pl b/configure.pl index 262e7b3..b98bccc 100755 --- a/configure.pl +++ b/configure.pl @@ -99,7 +99,7 @@ my $bpc; if ( $ConfigPath ne "" && -r $ConfigPath ) { (my $topDir = $ConfigPath) =~ s{/[^/]+/[^/]+$}{}; die("BackupPC::Lib->new failed\n") - if ( !($bpc = BackupPC::Lib->new($topDir, ".")) ); + if ( !($bpc = BackupPC::Lib->new($topDir, ".", 1)) ); %Conf = $bpc->Conf(); %OrigConf = %Conf; $Conf{TopDir} = $topDir; @@ -416,6 +416,7 @@ foreach my $lib ( qw(BackupPC/Lib.pm BackupPC/FileZIO.pm BackupPC/Attrib.pm BackupPC/Xfer/Smb.pm BackupPC/Xfer/Rsync.pm BackupPC/Xfer/RsyncFileIO.pm BackupPC/Zip/FileMember.pm BackupPC/Lang/en.pm BackupPC/Lang/fr.pm BackupPC/Lang/es.pm + BackupPC/Lang/de.pm ) ) { InstallFile("lib/$lib", "$Conf{InstallDir}/lib/$lib", 0444); } @@ -429,7 +430,8 @@ if ( $Conf{CgiImageDir} ne "" ) { } printf("Making init.d scripts\n"); -foreach my $init ( qw(linux-backuppc solaris-backuppc debian-backuppc) ) { +foreach my $init ( qw(gentoo-backuppc gentoo-backuppc.conf linux-backuppc + solaris-backuppc debian-backuppc suse-backuppc) ) { InstallFile("init.d/src/$init", "init.d/$init", 0444); } @@ -597,6 +599,20 @@ will need to do: Enjoy! EOF +if ( $ENV{LANG} =~ /utf/i && $^V ge v5.8.0 ) { + print <