Installer/OS/linux/rhel.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 36 CC 2 SCAR 11.5
CC
2
Cov
0%
prepare_builder_env
6.0
pkg_deps_latex
2.0
BEGIN
2.0
CRAP 3.1
1 package LedgerSMB::Installer::OS::linux::rhel v0.999.15;
2  
3 use v5.20;
4 use experimental qw(signatures);
5 use parent qw( LedgerSMB::Installer::OS::linux::fedora );
6  
7 use Capture::Tiny qw(capture_stdout capture);
8  
9 sub prepare_builder_env($self, $config) {
10 my $dnf = $self->have_cmd( 'dnf' );
11 my ($groups, ) = capture_stdout {
12 system( $dnf, 'group', 'list', '--installed' );
13 };
14 my $have_development = ($groups =~ m/^development/m);
15 unless ($have_development) {
16 $config->mark_pkgs_for_cleanup( [ '@development' ] );
17 $self->pkg_install( [ '@development' ] );
18 }
19 }
20  
21 sub pkg_deps_latex($self) {
22 return ($self->_rm_installed([ qw(texlive-collection-latexrecommended
23 texlive-collection-latex
24 texlive-collection-xetex) ]),
25 []);
26 }
27  
28 1;