boklm pushed to branch main at The Tor Project / Applications / RBM
Commits:
c6a40950 by NoisyCoil at 2024-12-02T17:05:29+01:00
Bug 40081: Optionally pass --no-install-recommends to apt-get
- - - - -
1 changed file:
- lib/RBM/DefaultConfig.pm
Changes:
=====================================
lib/RBM/DefaultConfig.pm
=====================================
@@ -554,7 +554,7 @@ OPT_END
my $dnf = 'rpm -q [% c("pkg_name") %] > /dev/null || dnf install -y [%
c("pkg_name") %]';
my $zypper = 'rpm -q [% c("pkg_name") %] > /dev/null || zypper install
[% c("pkg_name") %]';
my $urpmi = 'rpm -q [% c("pkg_name") %] > /dev/null || urpmi [%
c("pkg_name") %]';
- 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") %]';
+ 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") %]';
my %install = (
Fedora => $dnf,
'Fedora-20' => $yum,
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/rbm/-/commit/c6a40950607fa73861f81185764dff2bab150010
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/rbm/-/commit/c6a40950607fa73861f81185764dff2bab150010
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]