From 071b220b11859f11db8f51428ef906af5c17287f Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 24 Aug 2006 16:08:01 +0000 Subject: - more know variables - improve doc - minor fixes --- lib/MDV/Distribconf/MediaCFG.pm | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) (limited to 'lib/MDV/Distribconf') diff --git a/lib/MDV/Distribconf/MediaCFG.pm b/lib/MDV/Distribconf/MediaCFG.pm index c1b33c6..249f6e5 100644 --- a/lib/MDV/Distribconf/MediaCFG.pm +++ b/lib/MDV/Distribconf/MediaCFG.pm @@ -101,6 +101,30 @@ The branch of the distribution. =cut +$value->{product} = { section => 'media_info' }; + +=head3 product + +The name of the product, 'Download' by default + +=cut + +$value->{minor} = { section => 'media_info' }; + +=head3 minor + +No documentation + +=cut + +$value->{subversion} = { section => 'media_info' }; + +=head3 subversion + +No documentation + +=cut + =head2 MEDIA VALUES =cut @@ -194,6 +218,23 @@ The size of the media. The value is suffixed by the unit. =cut +$value->{suppl} = { }; + +=head3 suppl + +The media is a supplementary media. + +=cut + +$value->{askmedia} = { }; + +=head3 askmedia + +Tools should ask to the user if the media should be add or not to +the configuration + +=cut + # valid_param($media, $var, $val) # # Return a list of errors (if any) about having such value in the config @@ -228,3 +269,26 @@ sub _value_info { __END__ +=head1 AUTHOR + +Olivier Thauvin + +=head1 LICENSE AND COPYRIGHT + +(c) 2005 Olivier Thauvin ; (c) 2005, 2006 Mandriva + +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 +the Free Software Foundation; either version 2, or (at your option) +any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +=cut -- cgit v1.2.1