| 1 | package Devel::AssertOS::Linux::Debian; | ||||||||||
| 2 | |||||||||||
| 3 | 3 | ▶ | use Devel::CheckOS; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 3 | ▶ | no warnings 'redefine'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 3 | our $VERSION = '1.2'; | |||||||||
| 9 | |||||||||||
| 10 | 11 | ▶ | sub matches { map { "Linux::$_" } qw(Raspbian Ubuntu RealDebian UnknownDebianLike Devuan Elementary) } | ||||||||
|
Subroutine
matches: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 11 | |||||||||||
| 12 | 4 | ▶ | sub os_is { Devel::CheckOS::os_is(matches()) } | ||||||||
|
Subroutine
os_is: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 13 | |||||||||||
| 14 | 1 | ▶ | sub expn { "The distribution is some derivative of Debian Linux (see Linux::RealDebian for *actual* Debian Linux)" } | ||||||||
|
Subroutine
expn: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | |||||||||||
| 16 | 3 | ▶ | Devel::CheckOS::die_unsupported() unless(os_is()); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | |||||||||||
| 18 | =head1 COPYRIGHT and LICENCE | ||||||||||
| 19 | |||||||||||
| 20 | Copyright 2024 David Cantrell | ||||||||||
| 21 | |||||||||||
| 22 | This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively. | ||||||||||
| 23 | |||||||||||
| 24 | =cut | ||||||||||
| 25 | |||||||||||
| 26 | 3 | 1; | |||||||||
| 27 | |||||||||||