From 2b3908d2cdc389f9b13ea0dca4b9e31dd2da7b28 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 29 Sep 2005 14:16:21 +0000 Subject: Don't repeat copyright put in Distribconf --- Distribconf/Build.pm | 71 +++++----------------------------------------------- 1 file changed, 6 insertions(+), 65 deletions(-) (limited to 'Distribconf/Build.pm') diff --git a/Distribconf/Build.pm b/Distribconf/Build.pm index fb710a3..101f9ac 100644 --- a/Distribconf/Build.pm +++ b/Distribconf/Build.pm @@ -20,7 +20,7 @@ package Distribconf::Build; =head1 NAME -Distribconf::Build - Extend Distribconf module to allow building the conf +Distribconf::Build - Extension to Distribconf to build configuration =head1 METHODS @@ -34,17 +34,16 @@ use Distribconf; our @ISA = qw(Distribconf); our $VERSION = $Distribconf::VERSION; -=head2 new(root_of_distrib) +=head2 Distribconf::Build->new($root_of_distrib) -Return a new Distribconf::Build object +Returns a new Distribconf::Build object =cut sub new { - my ($class, @options) = @_; - my $self = $class->SUPER::new(@options); - - bless($self, $class); + my $class = shift; + my $self = $class->SUPER::new(@_); + bless $self, $class; } =head2 write_hdlists($hdlists) @@ -217,62 +216,4 @@ __END__ L -=head1 AUTHOR - -The code has been written by Olivier Thauvin . - -The media.cfg has been improved by Warly . - -Special thanks to Rafael Garcia-Suarez for -suggesting to use Config::IniFiles. - -Thanks to Sylvie Terjan for the spell checking. - -=head1 ChangeLog - - $Log$ - Revision 1.6 2005/09/29 13:43:32 rgarciasuarez - Reports errors on STDERR, not STDOUT - - Revision 1.5 2005/09/29 12:28:04 rgarciasuarez - Spell check error message - - Revision 1.4 2005/09/28 16:01:10 rgarciasuarez - Add in Distribconf modules - - Revision 1.3 2005/09/06 19:46:17 othauvin - - s/mandrake/mandriva/ - - Revision 1.2 2005/05/26 09:32:40 rgarciasuarez - Fix error messages - - Revision 1.1 2005/02/22 20:12:31 othauvin - - split Distribconf with Build - - add write_VERSION - - Revision 1.7 2005/02/22 12:52:51 othauvin - - don't add a 'm' to size in hdlists - - Revision 1.6 2005/02/21 21:40:10 othauvin - - add getfullpath - - s![ /]*!_! in default path - - add check() - - Revision 1.5 2005/02/21 15:34:56 othauvin - Distribconf - - Revision 1.4 2005/02/21 13:14:19 othauvin - - add doc for pubkey - - Revision 1.3 2005/02/21 13:11:01 othauvin - - lowercase media name in file name - - manage pubkey - - Revision 1.2 2005/02/21 12:47:34 othauvin - - avoid error message about non existing media.cfg - - Revision 1.1 2005/02/20 21:15:50 othauvin - - initials release for managing mandrakelinux distro tree - - =cut -- cgit v1.2.1