| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Devel::AssertOS::Linux::SUSE; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
16
|
use Devel::CheckOS; |
|
|
2
|
|
|
|
|
6
|
|
|
|
2
|
|
|
|
|
122
|
|
|
4
|
2
|
|
|
2
|
|
10
|
use strict; |
|
|
2
|
|
|
|
|
5
|
|
|
|
2
|
|
|
|
|
42
|
|
|
5
|
2
|
|
|
2
|
|
8
|
use warnings; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
116
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
10
|
use Devel::CheckOS::Helpers::LinuxOSrelease 'distributor_id'; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
99
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
|
10
|
no warnings 'redefine'; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
578
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '1.0'; |
|
12
|
|
|
|
|
|
|
|
|
13
|
6
|
|
|
6
|
|
15
|
sub matches { map { "Linux::$_" } qw(SLES OpenSUSE) } |
|
|
12
|
|
|
|
|
53
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
5
|
|
|
5
|
|
17
|
sub os_is { Devel::CheckOS::os_is(matches()) } |
|
16
|
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
62
|
sub expn { "The Linux distribution is some version of SUSE, (see Linux::SLES for the commercial variant, and Linux::OpenSUSE for the community version)" } |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Devel::CheckOS::die_unsupported() unless ( os_is() ); |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENCE |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Copyright 2024 David Cantrell |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
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. |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=cut |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|