X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=configure.pl;h=28c4b8661f007dc309e8d3870b6a1144c8e001be;hp=a87980720d816264a34a6c212795598ef2e2d8ff;hb=74baa820fab5e1a03551526f0e9e671d9f74de03;hpb=3d15da9b2c6de8018c02677549678d6d769234b5 diff --git a/configure.pl b/configure.pl index a879807..28c4b86 100755 --- a/configure.pl +++ b/configure.pl @@ -19,7 +19,7 @@ # Craig Barratt # # COPYRIGHT -# Copyright (C) 2001-2007 Craig Barratt +# Copyright (C) 2001-2010 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 @@ -266,7 +266,7 @@ my %Programs = ( foreach my $prog ( sort(keys(%Programs)) ) { my $path; foreach my $subProg ( split(/\//, $prog) ) { - $path = FindProgram("$ENV{PATH}:/bin:/usr/bin:/sbin:/usr/sbin", + $path = FindProgram("$ENV{PATH}:/usr/bin:/bin:/sbin:/usr/sbin", $subProg) if ( !length($path) ); } $Conf{$Programs{$prog}} = $path if ( !length($Conf{$Programs{$prog}}) ); @@ -613,7 +613,7 @@ if ( $Conf{CgiImageDir} ne "" ) { printf("Making init.d scripts\n"); foreach my $init ( qw(gentoo-backuppc gentoo-backuppc.conf linux-backuppc solaris-backuppc debian-backuppc freebsd-backuppc - suse-backuppc slackware-backuppc ) ) { + freebsd-backuppc2 suse-backuppc slackware-backuppc ) ) { InstallFile("init.d/src/$init", "init.d/$init", 0444); } @@ -1309,7 +1309,7 @@ Craig Barratt =head1 COPYRIGHT -Copyright (C) 2001-2007 Craig Barratt. +Copyright (C) 2001-2010 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