Skip to content

Commit ef76e7e

Browse files
authored
Modify Fedora entries in default package manager install instructions (#2819)
* Add Fedora 42, remove Fedora 40 * remove whitespace to trigger checks
1 parent 8989487 commit ef76e7e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Welcome to HashiCorp Developer! This is the home for HashiCorp product reference
1010
- [Accessibility](#accessibility)
1111
- [Testing](#testing)
1212
- [Helpers](#helpers)
13-
- [Component Organziation](#component-organization)
13+
- [Component Organization](#component-organization)
1414
- [Configuration](#configuration)
1515
- [Analytics](#analytics)
1616
- [SEO metadata](#seo-metadata)

src/views/product-downloads-view/helpers.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,19 @@ export const generateDefaultPackageManagers = (
6060
os: 'linux',
6161
},
6262
{
63-
label: 'Fedora 40',
63+
label: 'Fedora 41',
6464
commands: [
6565
`sudo dnf install -y dnf-plugins-core`,
66-
`sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo`,
66+
`sudo dnf config-manager addrepo --from-repofile=https://rpm.releases.hashicorp.com/fedora/hashicorp.repo`,
6767
`sudo dnf -y install ${productSlug}`,
6868
],
6969
os: 'linux',
7070
},
7171
{
72-
label: 'Fedora 41',
72+
label: 'Fedora 42',
7373
commands: [
74-
`sudo dnf install -y dnf-plugins-core`,
75-
`sudo dnf config-manager addrepo --from-repofile=https://rpm.releases.hashicorp.com/fedora/hashicorp.repo`,
74+
`wget -O- https://rpm.releases.hashicorp.com/fedora/hashicorp.repo | sudo tee /etc/yum.repos.d/hashicorp.repo`,
75+
`sudo yum list available | grep hashicorp`,
7676
`sudo dnf -y install ${productSlug}`,
7777
],
7878
os: 'linux',
@@ -82,7 +82,7 @@ export const generateDefaultPackageManagers = (
8282
commands: [
8383
`sudo yum install -y yum-utils shadow-utils`,
8484
`sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo`,
85-
`sudo yum -y install ${productSlug}`,
85+
`sudo yum install ${productSlug}`,
8686
],
8787
os: 'linux',
8888
},

0 commit comments

Comments
 (0)