| 1 |
Linux-Distribution version 0.23 |
| 2 |
=============================== |
| 3 |
|
| 4 |
This is a simple module that tries to detect on what linux distribution we are running by looking |
| 5 |
for release's files in /etc. It now looks for 'lsb-release' first as that should be the most cor- |
| 6 |
rect and adds ubuntu support. Secondly, it will look for the distro specific files. |
| 7 |
|
| 8 |
It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, |
| 9 |
mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix, yoper, arch-linux, libranet, |
| 10 |
gentoo, ubuntu, scientific, oracle enterprise linux, and redflag. |
| 11 |
|
| 12 |
It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and |
| 13 |
ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-) |
| 14 |
|
| 15 |
INSTALLATION |
| 16 |
|
| 17 |
To install this module type the following: |
| 18 |
|
| 19 |
perl Makefile.PL |
| 20 |
make |
| 21 |
make test |
| 22 |
make install |
| 23 |
|
| 24 |
DEPENDENCIES |
| 25 |
|
| 26 |
This module has no dependencies. |
| 27 |
|
| 28 |
COPYRIGHT AND LICENCE |
| 29 |
|
| 30 |
Copyright (C) 2006 by Alberto Re <[email protected]> |
| 31 |
(c) 2008-2015 Alexandr Ciornii <[email protected]> |
| 32 |
|
| 33 |
This library is free software; you can redistribute it and/or modify |
| 34 |
it under the same terms as Perl itself, either Perl version 5.8.5 or, |
| 35 |
at your option, any later version of Perl 5 you may have available. |