Skip to content

Commit

Permalink
fix: Use option to disable local package gpg check when installing wi…
Browse files Browse the repository at this point in the history
…th dnf

Closes #797
  • Loading branch information
g-bougard committed Jan 22, 2025
1 parent fb03241 commit 5c94edc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ packaging:
- libiconv 1.18
* Update MacOSX packages to use OpenSSL 3.4.0
* fix #816: Support --delaytime option in linux perl installer
* fix #797: Use option to disable local package gpg check when installing with dnf
in linux perl installer

1.11 Tue, 24 Sep 2024

Expand Down
2 changes: 1 addition & 1 deletion contrib/unix/installer/RpmDistro.pm
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ sub install {
$self->_prepareDistro();
my $command = $self->{_yum} ? "yum -y install @rpms" :
$self->{_zypper} ? "zypper -n install -y --allow-unsigned-rpm @rpms" :
$self->{_dnf} ? "dnf -y install @rpms" : "";
$self->{_dnf} ? "dnf -y install --setopt=localpkg_gpgcheck=0 @rpms" : "";
die "Unsupported rpm based platform\n" unless $command;
my $err = $self->system($command);
if ($? >> 8 && $self->{_yum} && $self->downgradeAllowed()) {
Expand Down

0 comments on commit 5c94edc

Please sign in to comment.