MDV::Distribconf::Checks - A Subclass to MDV::Distribconf::Build to check distribution tree
Performs basic checks on the distribution and prints to $fhout (STDERR by default) warnings and errors found. Returns the number of errors reported.
Check the synchronisation between rpms contained by media $media and its hdlist:
- all rpms should be in the hdlist - the hdlist should not contains rpms that does not exists
Return 1 if no problem were found
Check md5sum for hdlist and synthesis for the media $media are the same than value contains in the existing MD5SUM file.
The function return an error also if the value is missing
Return 1 if no error were found.
Performs all light checks on the distribution and prints to $fhout (STDERR by default) warnings and errors found. Returns the number of errors reported.
Olivier Thauvin <nanardon@mandriva.org>
MDV::Distribconf
To install MDV::Distribconf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MDV::Distribconf
CPAN shell
perl -MCPAN -e shell install MDV::Distribconf
For more information on module installation, please visit the detailed CPAN module installation guide.