boklm pushed to branch main at The Tor Project / Applications / RBM

Commits:

1 changed file:

Changes:

  • lib/RBM/DefaultConfig.pm
    ... ... @@ -554,7 +554,7 @@ OPT_END
    554 554
             my $dnf = 'rpm -q [% c("pkg_name") %] > /dev/null || dnf install -y [% c("pkg_name") %]';
    
    555 555
             my $zypper = 'rpm -q [% c("pkg_name") %] > /dev/null || zypper install [% c("pkg_name") %]';
    
    556 556
             my $urpmi = 'rpm -q [% c("pkg_name") %] > /dev/null || urpmi [% c("pkg_name") %]';
    
    557
    -        my $apt = 'dpkg -s [% c("pkg_name") %] 2> /dev/null | grep -q "^Status: install ok installed\$" || DEBIAN_FRONTEND=noninteractive apt-get install -q -y [% c("pkg_name") %]';
    
    557
    +        my $apt = 'dpkg -s [% c("pkg_name") %] 2> /dev/null | grep -q "^Status: install ok installed\$" || DEBIAN_FRONTEND=noninteractive apt-get install -q -y [% IF c("no_install_recommends") %]--no-install-recommends [% END %][% c("pkg_name") %]';
    
    558 558
             my %install = (
    
    559 559
                 Fedora      => $dnf,
    
    560 560
                 'Fedora-20' => $yum,