Package: wnpp Severity: whishlist * Package name : liblinux-distribution-perl Version : 0.05 Upstream Author : Alberto Re <[EMAIL PROTECTED]>, Judith Lebzelter <[EMAIL PROTECTED]> * URL :http://search.cpan.org/perldoc?Linux::Distribution * License : Perl License Programming Lang: Perl Description: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Perl extension to guess on which Linux distribution we are running -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://getfiregpg.org iD8DBQFIK09uLsy/JSmhVFURApRMAJ4mcc2tcmC/OA1mQl+DgB0ZcxtD6gCgyofM EeE1l0G7e6EbN6/qPSSodrg= =lmpb -----END PGP SIGNATURE----- This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks for 'lsb-release' first as that should be the most correct and adds ubuntu support. . Secondly, it will look for the distro specific files. . It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu and redflag. . It has function to get the version for debian, suse, redhat, gentoo, slackware, redflag and ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches. -- Leonardo Rodrigues de Mello jabber: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]